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:
41:6413522ed343
Parent:
38:2bfeefa8709a
Child:
48:6eac12df3ad5
--- a/heating/values.c	Fri Mar 15 12:21:02 2019 +0000
+++ b/heating/values.c	Mon Mar 25 10:35:43 2019 +0000
@@ -133,7 +133,7 @@
     if (!readInterval) readStartMs = MsTimerCount;
     if (writeSize && count < writeSize && readInterval)
     {
-        if (MsTimerHasElapsed(readStartMs, readInterval * 1000))
+        if (MsTimerRelative(readStartMs, readInterval * 1000))
         {
             readValues(); //Only read values if they are going to be backed up
             readStartMs = MsTimerCount;