Web Wizard and WaterLevelATO bug?
Posted: Fri Jun 15, 2018 10:29 pm
Hi,
With a Water Level extension (but not multilevel water level) the Web Wizard generates the following statement for a timeout of 10 minutes on port 5:
Am I misunderstanding or shouldn't it generate something more like:
which makes my ATO work correctly.
Checking the ReefAngel class the WaterLevelATO method is declared to have the following parameter order:
which suggests the last three parameters are generated by the Web Wizard in an incorrect order (and I don't know why it chooses to use 10 and 15 for the levels rather than numbers closer to 100).
Thanks.
With a Water Level extension (but not multilevel water level) the Web Wizard generates the following statement for a timeout of 10 minutes on port 5:
Code: Select all
ReefAngel.WaterLevelATO( Box1_Port5,10,15,600 );
Code: Select all
ReefAngel.WaterLevelATO( Box1_Port5,600,98,100 );
Checking the ReefAngel class the WaterLevelATO method is declared to have the following parameter order:
Code: Select all
void ReefAngelClass::WaterLevelATO(byte ATORelay, int ATOTimeout, byte LowLevel, byte HighLevel)
Thanks.