A GPS disciplined clock
Dependencies: net lpc1768 crypto clock web log
web-this/home/web-home-script.c@100:93f5b732f985, 2022-06-06 (annotated)
- Committer:
- andrewboyson
- Date:
- Mon Jun 06 11:10:58 2022 +0000
- Revision:
- 100:93f5b732f985
- Parent:
- 60:7cab896b0fd4
Publishing prior to moving to new online compiler
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 27:eb5728b9052b | 1 | #include "http.h" |
andrewboyson | 27:eb5728b9052b | 2 | |
andrewboyson | 27:eb5728b9052b | 3 | //Use http://tomeko.net/online_tools/cpp_text_escape.php to convert from text to c-multiline |
andrewboyson | 27:eb5728b9052b | 4 | //Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text |
andrewboyson | 27:eb5728b9052b | 5 | |
andrewboyson | 55:a1bd0572c8b6 | 6 | const char* WebHomeScriptDate = __DATE__; |
andrewboyson | 55:a1bd0572c8b6 | 7 | const char* WebHomeScriptTime = __TIME__; |
andrewboyson | 27:eb5728b9052b | 8 | |
andrewboyson | 27:eb5728b9052b | 9 | static const char* script = |
andrewboyson | 60:7cab896b0fd4 | 10 | #include "web-clock-class.inc" |
andrewboyson | 60:7cab896b0fd4 | 11 | #include "../common/web-ajax-class.inc" |
andrewboyson | 55:a1bd0572c8b6 | 12 | #include "web-home-script.inc" |
andrewboyson | 27:eb5728b9052b | 13 | ; |
andrewboyson | 55:a1bd0572c8b6 | 14 | void WebHomeScript() |
andrewboyson | 27:eb5728b9052b | 15 | { |
andrewboyson | 55:a1bd0572c8b6 | 16 | HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebHomeScriptDate, WebHomeScriptTime); |
andrewboyson | 27:eb5728b9052b | 17 | HttpAddText(script); |
andrewboyson | 27:eb5728b9052b | 18 | } |