question on lights
Posted: Tue Oct 11, 2016 5:49 am
working with this snippet
if ((hour()>=6 && hour()<9) || (hour()>=22 || hour()<23)) // Operates Moonlights twice a day
{
ReefAngel.Relay.On(Port2);
}
else
{
ReefAngel.Relay.Off(Port2);
}
How would I change that first time element to 630 AM instead of 6 AM. THX!
if ((hour()>=6 && hour()<9) || (hour()>=22 || hour()<23)) // Operates Moonlights twice a day
{
ReefAngel.Relay.On(Port2);
}
else
{
ReefAngel.Relay.Off(Port2);
}
How would I change that first time element to 630 AM instead of 6 AM. THX!