Page 1 of 1

Coding dosing pumps

Posted: Sat Jul 27, 2013 9:32 am
by lucho
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

Re: Coding dosing pumps

Posted: Sat Jul 27, 2013 9:41 am
by rimai
If you look inside the ReefAngel.cpp file, you will see what the function does.
Here is the snippet:

Code: Select all

void ReefAngelClass::DosingPumpRepeat1(byte Relay)
{
	// 0 minute offset
	DosingPumpRepeat(Relay, 0,
					InternalMemory.DP1RepeatInterval_read(),
					InternalMemory.DP1Timer_read());
}
You can use those two memory locations to change the behavior of the dosing pump.

Re: Coding dosing pumps

Posted: Sat Jul 27, 2013 8:56 pm
by lucho
Thanks Roberto! Very helpful