if ( (hour()>=7 || hour()<20))
{
ReefAngel.WavemakerRandom(Port5,25,60);
// Turn Port5 on/off random cycles that lasts from 25 to 60 secs
ReefAngel.Relay.Set(Port6,!ReefAngel.Relay.Status(Port5));
// Turn Port6 on/off on opposite cycle as Port 5
}
else
{
ReefAngel.Relay.Off(Port5);
ReefAngel.Relay.Off(Port6);
} //Wavemaker on from 0700 to 2000, Off there after
You were saying OR and this says AND. This code reads when the hour is between 7 and 20.
It was saying if the hour is greater than 7 OR if the hour is less than 20. Both of those scenarios would always have been true.