Sure, that'll work. Added: (not the beating your head part)
Or you could just use 25.
High limit = 25°CCode:OWOUT DQ, 1, [$CC, $4E, 25, 0]
Low limit = 0°C
If you want to use negative alarms, it's easier to use a variable
Do you know how to read the alarm status yet?Code:LowLimit VAR BYTE HighLimit VAR BYTE HighLimit = 20 LowLimit = -10 OWOUT DQ, 1, [$CC, $4E, HighLimit, LowLimit]
<br




Bookmarks