I wonder, will this work if wanted to read the temperature for multiple ds18s20 sensors:
First i send the ConvertAll command:
Code: Select all
OW.Reset
OW.WriteByte(owSkipROM)
OW.WriteByte(owConvert)
then when the port goes high read all the individual sensors:
Code: Select all
fid = "The sensor`s id"
DS18s20.ReadSP
"Sensor#" = result
Greets.
Gert