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

heating/boiler.h

Committer:
andrewboyson
Date:
2021-02-10
Revision:
104:46ce1aaf8be7
Parent:
91:8b192efd0288
Child:
105:1899f7ed17ec

File content as of revision 104:46ce1aaf8be7:

#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      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;

extern int  BoilerInit(void);
extern void BoilerMain(void);