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

Revision:
59:593ed054a439
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lpc1768-this/restart-this.c	Thu May 09 07:49:30 2019 +0000
@@ -0,0 +1,15 @@
+#include "restart.h"
+#include "restart-this.h"
+
+const char* RestartThisGetZoneString()
+{
+    switch (RestartGetLastCause())
+    {
+        case RESTART_ZONE_NTP_CLIENT: return "NTP"    ;
+        case RESTART_ZONE_VALUES    : return "Values" ;
+        case RESTART_ZONE_ONE_WIRE  : return "1-wire" ;
+        case RESTART_ZONE_DEVICE    : return "Device" ;
+        case RESTART_ZONE_HEATING   : return "Heating";
+        default                     : return "Unknown";
+    }
+}