Central Heating controller using the real time clock, PHY module for internet, 1-wire interface for temperature sensors, a system log and a configuration file
Dependencies: net 1-wire lpc1768 crypto clock web fram log
/media/uploads/andrewboyson/heating.sch
/media/uploads/andrewboyson/heating.brd
/media/uploads/andrewboyson/eagle.epf
Diff: heating/radiator.c
- Revision:
- 7:a62134646ac8
- Parent:
- 6:b325de442777
- Child:
- 35:bb8a6d1c034c
diff -r b325de442777 -r a62134646ac8 heating/radiator.c --- a/heating/radiator.c Thu Feb 22 18:33:44 2018 +0000 +++ b/heating/radiator.c Tue Mar 20 18:34:53 2018 +0000 @@ -116,9 +116,8 @@ void RadiatorMain() { //deal with pushbutton - static bool thisOn = false; static bool prevOn = false; - thisOn = DebounceHallPbPressed(); + bool thisOn = DebounceHallPbPressed(); if (thisOn && !prevOn) RadiatorChgOverride(); prevOn = thisOn;