The user should not need to worry about the minimum speed and simply use the settings according to what you placed in the comment above. So 50 would be the pump speed in % and 10 would be duration in milliseconds.
The wizard is capable of creating constant and lagoon. You may need to scroll up the pop-up options selection.
Storm is a mode I invented but it is not much used by anyone and Custom mode is for advanced users that want to have extreme control over the pumps.
The code for each of them is exactly the same for all modes. The only thing that changes is the mode.
This is the list of modes (case sensitive):
Constant
Lagoon
ReefCrest
ShortPulse
LongPulse
NutrientTransport
TidalSwell
Storm
Else
Sine
Gyre
So, you would change this:
Code: Select all
ReefAngel.DCPump.SetMode( ShortPulse,50,10 );
Code: Select all
ReefAngel.DCPump.SetMode( Constant,50,0 );