Page 1 of 1

wave pump started by hour and minutes instead wavemaker func

PostPosted: Tue Mar 22, 2011 1:08 pm
by mantu
hi! i would like to share a great roberto contribution.
since i don't like wavemaker function ( i prefer use 2 pumps alterating every 6 hours) here is a simple workaround:


roberto wrote:
Just because it says standardlight doesn't mean it should only be used for lights.
You could use it like this:
ReefAngel.StandardLights(Relay4,6,0,12,0);
if (bitRead(ReefAngel.Relay.RelayData,Relay4)==0) ReefAngel.StandardLights(Relay4,18,0,0,0);
Try it and let me know if it works.
Roberto.

this will power up relay4 from 6:00 am to 12:00am and from 6:00pm to 12:00pm
doing the same with another relay will alternate 2 pumps every 6 hours...
it works well!
thanks!

Re: wave pump started by hour and minutes instead wavemaker

PostPosted: Tue Mar 22, 2011 2:04 pm
by alexwbush
should that read StandardLights?

Re: wave pump started by hour and minutes instead wavemaker

PostPosted: Tue Mar 22, 2011 3:51 pm
by mantu
alexwbush wrote:should that read StandardLights?


i don't understand you.. sorry...

Re: wave pump started by hour and minutes instead wavemaker

PostPosted: Tue Mar 22, 2011 5:17 pm
by rimai
mantu wrote:i don't understand you.. sorry...

There was a typo on your post. That's all.
You typed StandarLights and he was saying it should've been StandardLights.

Re: wave pump started by hour and minutes instead wavemaker

PostPosted: Tue Mar 22, 2011 5:21 pm
by alexwbush
I was just trying to clear it up in case someone copied and pasted and then was wondering why it might not work.

Thanks for posting!

Re: wave pump started by hour and minutes instead wavemaker

PostPosted: Wed Mar 23, 2011 1:16 am
by mantu
alexwbush wrote:I was just trying to clear it up in case someone copied and pasted and then was wondering why it might not work.

Thanks for posting!



i'm sorry! i just edited original post!
tnx!

Lorenzo