Basically, my dosers come on every 30 minutes for 60 seconds.
I wanted my carbonate to come on at night, and be disabled during the day.
And calcuim to run during the day.
Code: Select all
if ((hour() >= 8) && (hour() < 20)) // Between 8am and 8pm disable Port 8 (carbonate)
ReefAngel.Relay.Off(Port8);
if ((hour() <= 8) && (hour() > 20)) // Between 8pm and 8am disable Port 7 (calcuim)
ReefAngel.Relay.Off(Port7);