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:
- 35:bb8a6d1c034c
- Parent:
- 7:a62134646ac8
- Child:
- 48:6eac12df3ad5
--- a/heating/radiator.c Thu Feb 28 16:21:15 2019 +0000 +++ b/heating/radiator.c Thu Mar 07 15:17:26 2019 +0000 @@ -2,12 +2,13 @@ #include <string.h> #include <stdbool.h> -#include "gpio.h" -#include "program.h" -#include "ds18b20.h" -#include "fram.h" +#include "gpio.h" +#include "program.h" +#include "ds18b20.h" +#include "fram.h" #include "radiator.h" #include "debounce.h" +#include "led.h" #define HALL_LED_DIR FIO0DIR(10) // P0.10 == p28; #define HALL_LED_PIN FIO0PIN(10) @@ -130,7 +131,6 @@ if (RadiatorPump) RADIATOR_PUMP_SET; else RADIATOR_PUMP_CLR; - //Display the led if (RadiatorPump) HALL_LED_SET; else HALL_LED_CLR;