- Code: Select all
if (ReefAngel.LowATO.IsActive()) // low water cut off
{
ReefAngel.Relay.On( Port1 | Port2 );
// alert=false;
}
else
{
ReefAngel.Relay.Off( Port1 | Port2 );
// alert=true;
}
Mathematically, Port1 | Port2 = Port3.
That's why your heater is not working and the lower cut off too. Both are being messed up by the code above.
I would suggest start your code with the basic and add custom code one at a time and verifying if that is working correctly. That way you now for sure what you added is indeed working.