Coding dosing pumps
-
lucho
- Posts: 80
- Joined: Fri Mar 02, 2012 8:11 am
Coding dosing pumps
I need help understanding the coding of dosing pumps. I would like to use internal memory as much as possible. Can somebody point me in the right direction? Thanks
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Coding dosing pumps
If you look inside the ReefAngel.cpp file, you will see what the function does.
Here is the snippet:
You can use those two memory locations to change the behavior of the dosing pump.
Here is the snippet:
Code: Select all
void ReefAngelClass::DosingPumpRepeat1(byte Relay)
{
// 0 minute offset
DosingPumpRepeat(Relay, 0,
InternalMemory.DP1RepeatInterval_read(),
InternalMemory.DP1Timer_read());
}
Roberto.
-
lucho
- Posts: 80
- Joined: Fri Mar 02, 2012 8:11 am
Re: Coding dosing pumps
Thanks Roberto! Very helpful