Controls the central heating system and the lights.

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

Committer:
andrewboyson
Date:
Sat Nov 12 10:03:38 2022 +0000
Revision:
8:8ac076ce51af
Parent:
0:22b158d3c76f
Updated LPC1768 library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 0:22b158d3c76f 1 #include "restart.h"
andrewboyson 0:22b158d3c76f 2 #include "restart-this.h"
andrewboyson 0:22b158d3c76f 3
andrewboyson 0:22b158d3c76f 4 const char* RestartThisGetZoneString()
andrewboyson 0:22b158d3c76f 5 {
andrewboyson 0:22b158d3c76f 6 switch (RestartGetLastCause())
andrewboyson 0:22b158d3c76f 7 {
andrewboyson 0:22b158d3c76f 8 case RESTART_ZONE_NTP_CLIENT: return "NTP" ;
andrewboyson 0:22b158d3c76f 9 case RESTART_ZONE_VALUES : return "Values" ;
andrewboyson 0:22b158d3c76f 10 case RESTART_ZONE_ONE_WIRE : return "1-wire" ;
andrewboyson 0:22b158d3c76f 11 case RESTART_ZONE_DEVICE : return "Device" ;
andrewboyson 0:22b158d3c76f 12 case RESTART_ZONE_HEATING : return "Heating";
andrewboyson 0:22b158d3c76f 13 default : return "Unknown";
andrewboyson 0:22b158d3c76f 14 }
andrewboyson 0:22b158d3c76f 15 }