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

Committer:
andrewboyson
Date:
Wed May 01 10:05:00 2019 +0000
Revision:
53:c1bf7d9db507
Parent:
web-derived/system/web-system-script.c@52:76254a967391
Child:
54:1cbd3a85d3a0
Updated web library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 49:9491c966dc60 1 #include "http.h"
andrewboyson 49:9491c966dc60 2
andrewboyson 49:9491c966dc60 3 //Use http://tomeko.net/online_tools/cpp_text_escape.php to convert from text to c-multiline
andrewboyson 49:9491c966dc60 4 //Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text
andrewboyson 49:9491c966dc60 5
andrewboyson 49:9491c966dc60 6 static const char* script =
andrewboyson 52:76254a967391 7 #include "../../web/core/web-ajax-class.inc"
andrewboyson 49:9491c966dc60 8 #include "web-system-script.inc"
andrewboyson 49:9491c966dc60 9 ;
andrewboyson 49:9491c966dc60 10 const char* WebSystemScriptDate = __DATE__;
andrewboyson 49:9491c966dc60 11 const char* WebSystemScriptTime = __TIME__;
andrewboyson 49:9491c966dc60 12
andrewboyson 49:9491c966dc60 13 void WebSystemScript()
andrewboyson 49:9491c966dc60 14 {
andrewboyson 49:9491c966dc60 15 HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebSystemScriptDate, WebSystemScriptTime);
andrewboyson 49:9491c966dc60 16 HttpAddText(script);
andrewboyson 49:9491c966dc60 17 }