Page 1 of 1

Code On/Off light

Posted: Wed Jan 13, 2016 10:32 pm
by jay
I'm new to Reef Angel. I Use the wizard to do basic code.
But I want to know how do I code my T5 setup...

I have two relay, on port one and two.

Can I take this exemple code an edit it an upload in my reef angel?


void loop()
{
ReefAngel.StandardLights(Port2,9,30,16,30); // Lights on at 9:30am and off at 4:30pm
ReefAngel.StandardLights(Port3,9,0,17,0); // Lights on at 9:00am and off at 5:00pm
}

Re: Code On/Off light

Posted: Thu Jan 14, 2016 3:57 am
by cosmith71
Yep. Just change the Port numbers to whatever you need.

You'll still need all the rest of the base code, like setup(), etc.

--Colin