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
web-this/system/web-system-ajax.c
- Committer:
- andrewboyson
- Date:
- 2021-04-23
- Revision:
- 106:41ed3ea0bbba
- Parent:
- 53:c1bf7d9db507
File content as of revision 106:41ed3ea0bbba:
#include <stdint.h> #include <stdio.h> #include "http.h" #include "values.h" #include "fram.h" void WebSystemAjax() { HttpOk("text/plain; charset=UTF-8", "no-cache", NULL, NULL); HttpAddText (ValuesGetServerName() ); HttpAddChar('\n'); HttpAddText (ValuesGetFileName() ); HttpAddChar('\n'); HttpAddInt16AsHex(ValuesGetReadInterval()); HttpAddChar('\n'); HttpAddInt16AsHex(ValuesGetWriteSize() ); HttpAddChar('\n'); HttpAddInt16AsHex(ValuesGetCount() ); HttpAddChar('\n'); HttpAddInt64AsHex(ValuesGetStartTime() ); HttpAddChar('\n'); HttpAddInt16AsHex(FramUsed ); }