Will this code work for Dosing Pump
Posted: Fri Dec 09, 2011 2:52 pm
I only want the dosing pump to turn on one time a day for one second--to dose vodka while I am out of town.
I am still new to coding, so want to make sure this code will accomplish that?
if (hour()==09 && minute()==0 && second()==1) //Alk Doser - Only works if Main screen is showing
ReefAngel.Relay.On(Port5); //Turn Doser on
else
ReefAngel.Relay.Off(Port5); //Turn Doser off
I am still new to coding, so want to make sure this code will accomplish that?
if (hour()==09 && minute()==0 && second()==1) //Alk Doser - Only works if Main screen is showing
ReefAngel.Relay.On(Port5); //Turn Doser on
else
ReefAngel.Relay.Off(Port5); //Turn Doser off