Do you have a question on how to do something.
Ask in here.
-
Reefology
- Posts: 209
- Joined: Fri Dec 26, 2014 6:38 pm
Post
by Reefology »
how would i code to turn off wavemaker at night? tried this but wont compile
Code: Select all
if (hour()>=23 && hour()<8) ReefAngel.WavemakerRandom( Port6,off );
-
cosmith71
- Posts: 1437
- Joined: Fri Mar 29, 2013 3:51 pm
- Location: Oklahoma City
Post
by cosmith71 »
Try this:
Code: Select all
if (hour()>=23 || hour()<8) ReefAngel.Relay.Off( Port6 );
else ReefAngel.WavemakerRandom( Port6, 60, 100 );
Be sure to remove your other wavemaker code.