Hi all
I am trying to set port4 on my RA+ to turn on at 8am and off at 15, then on at 4pm and off at 1am
I tried the following but it doesnt work
if (hour(now())<12)
ReefAngel.StandardLights( Port4,8,0,15,0 );
else
ReefAngel.StandardLights( Port4,16,0,1,0 );
any ideas/pointers would be greatly appreciated.
Setting a port to multiple on/off times
Re: Setting a port to multiple on/off times
thanks Roberto, that seems to have done the trick!