wave pump started by hour and minutes instead wavemaker func

Would you like to help?
Share your walkthrough tutorial with others
Post Reply
mantu
Posts: 14
Joined: Tue Mar 22, 2011 12:56 pm

wave pump started by hour and minutes instead wavemaker func

Post 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!
Last edited by mantu on Wed Mar 23, 2011 1:16 am, edited 1 time in total.
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: wave pump started by hour and minutes instead wavemaker

Post by alexwbush »

should that read StandardLights?
mantu
Posts: 14
Joined: Tue Mar 22, 2011 12:56 pm

Re: wave pump started by hour and minutes instead wavemaker

Post by mantu »

alexwbush wrote:should that read StandardLights?
i don't understand you.. sorry...
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: wave pump started by hour and minutes instead wavemaker

Post 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.
Roberto.
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: wave pump started by hour and minutes instead wavemaker

Post 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!
mantu
Posts: 14
Joined: Tue Mar 22, 2011 12:56 pm

Re: wave pump started by hour and minutes instead wavemaker

Post 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
Post Reply