I have 2 questions, mt alk is dropping a full point in a 24 hour period so I am switching to the repeat interval dosing. First I have this , do I need dosing pump setup and dosing pump interval setup, or do I cut out the dosing pump set up?
#define DisplayImages
#define DosingPumpSetup
#define DateTimeSetup
#define DisplayLEDPWM
#define StandardLightSetup
#define DosingPumpIntervalSetup
Second I want it to run dp1 0 off set every 6 hours for 11 seconds and dp2 0 off set every 6 hours for 10 sec.
Doing it in the void loop over rides any info in the internal memory?
ReefAngel.DosingPumpRepeat1(Port5,0,360,11);
ReefAngel.DosingPumpRepeat2(Port6,0,360,10);
Repeat interval setup
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Repeat interval setup
If you use the code you posted, you don't need any of the #define.
But, I would suggest you use at least some offset, otherwise you will dose both at the same time.
Put the Port6 with 5 min offset or something.
But, I would suggest you use at least some offset, otherwise you will dose both at the same time.
Put the Port6 with 5 min offset or something.
Roberto.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Repeat interval setup
Thanks, I will put in the 5 min off set. I was keeping the #define in there so that I could change it at the controler. I just didn't know if #define dosingpumpsetup was need when using repeat interval. I used RAGen to make it and it added both.
-
Adam
- Posts: 38
- Joined: Sun Jan 29, 2012 8:03 am
Re: Repeat interval setup
I also noticed I got a compile error at ReefAngel.DosingPumpRepeat1(Port5,0,360,11); ReefAngel.DosingPumpRepeat2(Port6,5,360,10); If I remove the 1 and the 2 I don't get the error.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm