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:
- 99:84c3273dc77f
- Parent:
- 98:c75c959bcde3
- Child:
- 102:d7bc31f0ac6e
diff -r c75c959bcde3 -r 84c3273dc77f heating/radiator.c --- a/heating/radiator.c Sat Oct 10 14:12:46 2020 +0000 +++ b/heating/radiator.c Thu Nov 05 13:53:43 2020 +0000 @@ -20,8 +20,8 @@ static bool htgOverride = false; static char htgWinter; static int iWinter; static char* hallRom; static int iHallRom; -static uint8_t overrideCancelHour; static int iOverrideCancelHour; -static uint8_t overrideCancelMinute; static int iOverrideCancelMinute; +static uint8_t overrideCancelHour; static int iOverrideCancelHour; +static uint8_t overrideCancelMinute; static int iOverrideCancelMinute; static int16_t nightTemperature; static int iNightTemperature; static int16_t frostTemperature; static int iFrostTemperature; @@ -140,7 +140,7 @@ { //Make the radiator output makeOutputBeforeOverride(); - autoCancelOverride(); //Do this after making the outputt as it uses that information + autoCancelOverride(); //Do this after making the output as it uses that information makeOutputWithOverride(); //Pump output