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: http-derived/boiler/http-boiler-ajax.c
- Revision:
- 48:6eac12df3ad5
- Parent:
- 47:229338b3adcb
--- a/http-derived/boiler/http-boiler-ajax.c Tue Apr 23 18:47:47 2019 +0000 +++ b/http-derived/boiler/http-boiler-ajax.c Fri Apr 26 16:40:19 2019 +0000 @@ -13,9 +13,9 @@ { HttpOk("text/plain; charset=UTF-8", "no-cache", NULL, NULL); - HttpAddInt16AsHex(DS18B20ValueFromRom(BoilerGetTankRom ())); HttpAddChar('\n'); - HttpAddInt16AsHex(DS18B20ValueFromRom(BoilerGetOutputRom())); HttpAddChar('\n'); - HttpAddInt16AsHex(DS18B20ValueFromRom(BoilerGetReturnRom())); HttpAddChar('\n'); + HttpAddInt16AsHex(BoilerGetTankDS18B20Value() ); HttpAddChar('\n'); + HttpAddInt16AsHex(BoilerGetOutputDS18B20Value()); HttpAddChar('\n'); + HttpAddInt16AsHex(BoilerGetReturnDS18B20Value()); HttpAddChar('\n'); int nibble = 0; if (BoilerCall ) nibble |= 1;