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:
Thu May 09 07:49:30 2019 +0000
Revision:
59:593ed054a439
Updated restart-this module

Who changed what in which revision?

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