09-01-2007, 05:34 PM
Never been good at maffs
and cannot see the answer for looking...
Trying to get Comfort to turn an output on or off based on the temperature of the SCSSensor and comparision to a counter containing the setpoint.
Obviously the counter can only contain a value of 0-255, no negative numbers.
So how do I work out wether to turn the output on or off, using if statements or subtracting counters?
and cannot see the answer for looking...Trying to get Comfort to turn an output on or off based on the temperature of the SCSSensor and comparision to a counter containing the setpoint.
Obviously the counter can only contain a value of 0-255, no negative numbers.
So how do I work out wether to turn the output on or off, using if statements or subtracting counters?


