ato code question
Posted: Sat Oct 13, 2012 3:50 pm
i am wanting my float valves one in the sump to turn on the ato and one in the reservoir to stop the ato process if the water level is low, hear is some code that i made to acomplish this the ato pump will be port 6. i was not sure if this was where to place that code in the script and if the code will work?
void loop()
{
ReefAngel.DayLights( Port2 );
ReefAngel.ActinicLights( Port3 );
ReefAngel.StandardHeater( Port4 );
ReefAngel.StandardFan( Port5);
ReefAngel.SingleATOHigh( Port6 );
////// Place your custom code below here
ReefAngel.SingleATOHigh(Port6);
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port6);
void loop()
{
ReefAngel.DayLights( Port2 );
ReefAngel.ActinicLights( Port3 );
ReefAngel.StandardHeater( Port4 );
ReefAngel.StandardFan( Port5);
ReefAngel.SingleATOHigh( Port6 );
////// Place your custom code below here
ReefAngel.SingleATOHigh(Port6);
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port6);