Andrew Boyson / Mbed 2 deprecated heating

Dependencies:   1-wire clock crypto fram log lpc1768 net web wiz mbed

Committer:
andrewboyson
Date:
Mon May 10 10:23:48 2021 +0000
Revision:
0:22b158d3c76f
Child:
5:3579001bea1b
New version as old one would not commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 0:22b158d3c76f 1 #include "http.h"
andrewboyson 0:22b158d3c76f 2 #include "web-nav-this.h"
andrewboyson 0:22b158d3c76f 3 #include "web-add.h"
andrewboyson 0:22b158d3c76f 4
andrewboyson 0:22b158d3c76f 5 void WebRadiatorHtml()
andrewboyson 0:22b158d3c76f 6 {
andrewboyson 0:22b158d3c76f 7 HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
andrewboyson 0:22b158d3c76f 8 WebAddHeader("Radiator", "settings.css", "radiator.js");
andrewboyson 0:22b158d3c76f 9 WebAddNav(RADIATOR_PAGE);
andrewboyson 0:22b158d3c76f 10 WebAddH1("Radiator");
andrewboyson 0:22b158d3c76f 11
andrewboyson 0:22b158d3c76f 12 WebAddH2("Output");
andrewboyson 0:22b158d3c76f 13 WebAddAjaxLed ("Radiator pump", "ajax-radiator-toggle");
andrewboyson 0:22b158d3c76f 14
andrewboyson 0:22b158d3c76f 15 WebAddH2("Inputs");
andrewboyson 0:22b158d3c76f 16 WebAddAjaxLabelledSuffix("Hall temperature", "ajax-hall-html", "°C");
andrewboyson 0:22b158d3c76f 17 WebAddAjaxLed ("Programmer output", "ajax-program-toggle");
andrewboyson 0:22b158d3c76f 18
andrewboyson 0:22b158d3c76f 19 WebAddH2("Parameters");
andrewboyson 0:22b158d3c76f 20 WebAddAjaxInputToggle ("Mode Summer|Winter", "ajax-mode-toggle" , "htg-chg-mode" );
andrewboyson 0:22b158d3c76f 21 WebAddAjaxInput ("Winter (night)", 2, "ajax-night-set-point" , "nighttemp");
andrewboyson 0:22b158d3c76f 22 WebAddAjaxInput ("Summer (frost)", 2, "ajax-frost-set-point" , "frosttemp");
andrewboyson 0:22b158d3c76f 23 WebAddAjaxInputToggle ("Override", "ajax-override-toggle" , "htg-chg-override");
andrewboyson 0:22b158d3c76f 24 WebAddAjaxInput ("Override cancel time", 4, "ajax-overide-cancel-minute", "overridecancelminute");
andrewboyson 0:22b158d3c76f 25
andrewboyson 0:22b158d3c76f 26 WebAddEnd();
andrewboyson 0:22b158d3c76f 27
andrewboyson 0:22b158d3c76f 28 }