Code On/Off light

Do you have a question on how to do something.
Ask in here.
Post Reply
jay
Posts: 2
Joined: Wed Mar 13, 2013 5:29 am

Code On/Off light

Post 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
}
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Code On/Off light

Post 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
Post Reply