use high alarm with DS18B20

in Propeller 1
Trying to figure out how to sound an alarm if temp is above TH.
Probably need help
Aaron
Trying to figure out how to sound an alarm if temp is above TH.
Probably need help
Aaron
Comments
I just need help with the 'Readtemperature' method.
Thanks
I think I may be close except for the last 7 or so lines. I also don't know what kind of info the alarm will be or what to do with it.
I've separated out the readTemp method here.
Thanks
Aaron
I haven't used the DS18B20 with a P1 in a while so I dusted off my code and brought it up to match my P2 program. The demo looks like this:
You can read from a specific address, or from one device if it is the only thing connected.
Suggestions