Your logic seems sound, and I guess I could then use the logic thus:
If MinutessinceMidnight => LightsOn and <= LightsOff then turn lights on
Endif
so for example, if the lighton value was 720 and lightsoff value was 800 then LEDs would be on just between these "times"
I just need to get my DS1307 working now (see other thread !)
Bookmarks