Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 1-wire clock crypto fram log lpc1768 net web wiz mbed
web-radiator-html.c
00001 #include "http.h" 00002 #include "web-nav-this.h" 00003 #include "web-add.h" 00004 00005 void WebRadiatorHtml() 00006 { 00007 HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); 00008 WebAddHeader("Radiator", "settings.css", "radiator.js"); 00009 WebAddNav(RADIATOR_PAGE); 00010 WebAddH1("Radiator"); 00011 00012 WebAddH2("Output"); 00013 WebAddAjaxLed ("Radiator pump", "ajax-radiator-pump-toggle"); 00014 00015 WebAddH2("Inputs"); 00016 WebAddAjaxLabelledSuffix("Hall temperature", "ajax-hall-html", "°C"); 00017 WebAddAjaxLabelledSuffix("Tank temperature", "ajax-tank-html", "°C"); 00018 WebAddAjaxLed ("Programmer output", "ajax-program-toggle"); 00019 00020 WebAddH2("Parameters"); 00021 WebAddAjaxInputToggle ("Mode Summer|Winter", "ajax-mode-toggle" , "htg-chg-mode" ); 00022 WebAddAjaxInput ("Winter (night)", 2, "ajax-night-set-point" , "nighttemp"); 00023 WebAddAjaxInput ("Summer (frost)", 2, "ajax-frost-set-point" , "frosttemp"); 00024 WebAddAjaxInputToggle ("Override", "ajax-override-toggle" , "htg-chg-override"); 00025 WebAddAjaxInput ("Override cancel time", 4, "ajax-override-cancel-minute", "overridecancelminute"); 00026 WebAddAjaxInputToggle ("Hot water priority", "ajax-hw-prot-toggle" , "htg-chg-hw-prot" ); 00027 WebAddAjaxInput ("Hot water priority tank min", 2, "ajax-hw-prot-temp" , "hwprotecttemp"); 00028 00029 WebAddEnd(); 00030 00031 }
Generated on Sat Nov 12 2022 10:03:51 by
1.7.2