print(string.format("Sensor %s: %s 'C",encoder.toBase64(addr),temp))-- readable address with base64 encoding is preferred when encoder module is available
print("Total number of DS18B20 sensors: "..table.getn(t.sens))
fori,sinipairs(t.sens)do
-- print(string.format(" sensor #%d address: %s%s", i, s.addr, s.parasite == 1 and " (parasite)" or ""))
print(string.format(" sensor #%d address: %s%s",i,encoder.toBase64(s.addr),s.parasite==1and" (parasite)"or""))-- readable address with base64 encoding is preferred when encoder module is available