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/boiler.h
- Revision:
- 104:46ce1aaf8be7
- Parent:
- 91:8b192efd0288
- Child:
- 105:1899f7ed17ec
diff -r 15583327fcdd -r 46ce1aaf8be7 heating/boiler.h --- a/heating/boiler.h Tue Jan 19 19:05:06 2021 +0000 +++ b/heating/boiler.h Wed Feb 10 17:24:36 2021 +0000 @@ -1,14 +1,25 @@ #include <stdbool.h> #include <stdint.h> -extern int BoilerGetTankSetPoint (void); extern void BoilerSetTankSetPoint (int value); -extern int BoilerGetTankHysteresis (void); extern void BoilerSetTankHysteresis (int value); -extern int BoilerGetRunOnResidual16ths(void); extern void BoilerSetRunOnResidual16ths(int value); -extern int BoilerGetRunOnTime (void); extern void BoilerSetRunOnTime (int value); +extern int BoilerGetTankSetPoint (void); extern void BoilerSetTankSetPoint (int value); +extern int BoilerGetTankHysteresis (void); extern void BoilerSetTankHysteresis (int value); +extern int BoilerGetRunOnResidual16ths(void); extern void BoilerSetRunOnResidual16ths(int value); +extern int BoilerGetRunOnTime (void); extern void BoilerSetRunOnTime (int value); +extern int BoilerGetPumpSpeedCalling (void); extern void BoilerSetPumpSpeedCalling (int value); +extern int BoilerGetPumpSpeedRunOn (void); extern void BoilerSetPumpSpeedRunOn (int value); +extern int BoilerGetOutputTarget (void); extern void BoilerSetOutputTarget (int value); + +extern int BoilerGetRise16thsAt0 (void); extern void BoilerSetRise16thsAt0 (int value); +extern int BoilerGetRise16thsAt50 (void); extern void BoilerSetRise16thsAt50 (int value); +extern int BoilerGetRise16thsAt100 (void); extern void BoilerSetRise16thsAt100 (int value); + extern uint16_t BoilerGetTankDS18B20Value (void); extern uint16_t BoilerGetOutputDS18B20Value(void); extern uint16_t BoilerGetReturnDS18B20Value(void); +extern int BoilerPumpSpeed; +extern int BoilerPumpPwm; + extern bool BoilerCall; extern bool BoilerPump;