ReefAngel.Relay.Off( Port2 ); // Start with the relay off
if (hour()>=5 && hour()<10) ReefAngel.Relay.On(Port2); // Between 5-10am turn the relay on
if (hour()>=20 && hour()<=23) ReefAngel.Relay.On(Port2); // From 8pm-Midnight turn the relay on
You are using the Set function incorrectly. Also your first conditional can't exist... hour() can't be both >=20 AND less than 0... Also the UseMemory is not for relays... it's related to the RF or DCPump class.