Coding dosing pumps

Do you have a question on how to do something.
Ask in here.
Post Reply
lucho
Posts: 80
Joined: Fri Mar 02, 2012 8:11 am

Coding dosing pumps

Post 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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Coding dosing pumps

Post 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.
Roberto.
lucho
Posts: 80
Joined: Fri Mar 02, 2012 8:11 am

Re: Coding dosing pumps

Post by lucho »

Thanks Roberto! Very helpful
Post Reply