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
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
-
Appleseed
- Posts: 96
- Joined: Sat Jun 30, 2012 9:21 am