ATO from Custom Menu
Posted: Fri Mar 08, 2013 12:54 pm
OK now that I have the pwm fans working great, I'm turning my attention to a custom menu entry to toggle the ato.
I started by trying to just activate the ato from the menu with mixed success...
Ideally, I want to be able to overide the ato if it is OFF, and turn it OFF if it is ON, and have a time-out fail-safe set to a hard-coded value, eg. 10 mins. All just from pushing the joystick in my custom menu.
I'd settle for being able to repeatedly activate the ato from the menu and having the time-out fail-safe active.
TIA for your help.
I started by trying to just activate the ato from the menu with mixed success...
What happens is that it works for a while then the port deactivates, possibly per the time-out, but the led alert on the RA head doesn't light and the port is displayed as ON on the lcd display despite the water level still being low and the port deactivated. If I press the menu entry again the display and led alert are set to the state that they should have been in per the above rather than restarting the ato.void MenuEntry2()
{
ReefAngel.SingleATO(true,Port6,600,6);
ReefAngel.DisplayMenuEntry("ATO Activated");
}
Ideally, I want to be able to overide the ato if it is OFF, and turn it OFF if it is ON, and have a time-out fail-safe set to a hard-coded value, eg. 10 mins. All just from pushing the joystick in my custom menu.
I'd settle for being able to repeatedly activate the ato from the menu and having the time-out fail-safe active.
TIA for your help.