Logic for 3 Dosing Pumps
Logic for 3 Dosing Pumps
I would love for the portal to have logic for wireless control of a third dosing pump. I though that two pumps were enough but I find myself dosing mg now. So I have three dosing pumps. The portal make adjusting my dosing schedule much easier.
Logic for 3 Dosing Pumps
+1' but then I'm going to need another dosing pump
Re: Logic for 3 Dosing Pumps
It's done
https://github.com/reefangel/Libraries/issues/74
I'll need to update the Portal when the libs get released.
https://github.com/reefangel/Libraries/issues/74
I'll need to update the Portal when the libs get released.
Roberto.
Re: Logic for 3 Dosing Pumps
Outstanding! I copy/pasted the dosing pump code from the ReefAngel lib and used my own memory locs for my 3rd pump. I'll switch over to this next time I update the libs. It will be a nice to control it from the Portal (when that part is done) instead of using the Android app and trying to remember what memory locations I used
~Charlie
~Charlie
Re: Logic for 3 Dosing Pumps
I would like to add a third and fourth dosing pump, one for dosing Mg and the other for vinegar. I ll be using the dosingpumprepeat function.
Do I just add these lines in the reefangel.cpp file:
and add these in internal memory:
InternalMemory.DP3RepeatInterval
InternalMemory.DP3Timer
InternalMemory.DP4RepeatInterval
InternalMemory.DP4Timer
is that correct?
Do I just add these lines in the reefangel.cpp file:
Code: Select all
void ReefAngelClass::DosingPumpRepeat3(byte Relay)
{
// 0 minute offset
DosingPumpRepeat(Relay, 0,
InternalMemory.DP3RepeatInterval_read(),
InternalMemory.DP3Timer_read());
}
void ReefAngelClass::DosingPumpRepeat4(byte Relay)
{
// 0 minute offset
DosingPumpRepeat(Relay, 0,
InternalMemory.DP4RepeatInterval_read(),
InternalMemory.DP4Timer_read());
}
InternalMemory.DP3RepeatInterval
InternalMemory.DP3Timer
InternalMemory.DP4RepeatInterval
InternalMemory.DP4Timer
is that correct?
Re: Logic for 3 Dosing Pumps
Just be aware that DosingPumpRepeat3() has already been added to the dev branch and is scheduled to be released on next update.
https://github.com/reefangel/Libraries/issues/74
https://github.com/reefangel/Libraries/issues/74
Roberto.
Re: Logic for 3 Dosing Pumps
whens it goin to be released?