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

lpc1768-this/restart-this.c

Committer:
andrewboyson
Date:
2019-05-09
Revision:
59:593ed054a439

File content as of revision 59:593ed054a439:

#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";
    }
}