Comfort Home Automation/ Security System Forums Home
 Search       Members   Calendar   Help   Home 
Search by username
Not logged in - Login | Register 

Practical Temp Control Using SCS
 Moderated by: adlim  
 New Topic   Reply   Print 
AuthorPost
garym999
Comfort Installers


Joined: Saturday Aug 19th, 2006
Location: United Kingdom
Posts: 189
Status:  Offline
 Posted: Saturday Sep 1st, 2007 05:34 pm
 Quote  Reply 
Never been good at maffs :P 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?

 


 Current time is 01:43 pm




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
We insist that you abide by the rules and policies stated below. Although the moderators of the Comfort Forums will attempt to keep all objectionable messages off this forum, it is not possible for us to filter all messages. All messages express the views of the author. Cytech Technology is not responsible for the content, views or advice of any message posted by members, including staff of Cytech. By registering for the forums, you warrant that you will not post any messages that are obscene, vulgar, of a sexual nature, abusive, hateful, threatening, of racist nature or otherwise in breach of any laws. Cytech reserves the right to remove, edit or move message or topic for any reason