need help with kalk reactor
need help with kalk reactor
Does any body has a code or exaple of a code that I can use to make one port on the relay box turn the pump on the reactor 4 times a day for a number amounts of mins and shut down the pump when ph gets to 8.4 thanks
Re: need help with kalk reactor
Try this:
21600 is the cycle in seconds, which means 6 hours
120 is the number of seconds to turn on, which is 2 minutes.
Code: Select all
ReefAngel.Relay.Set(Port1, now()%21600<120);
if (ReefAngel.Params.PH>=840) ReefAngel.Relay.Off(Port1);
120 is the number of seconds to turn on, which is 2 minutes.
Roberto.
Re: need help with kalk reactor
Thanks roberto ill try it tomorrow