Hello all,
I'm trying to figure out how to code my third Jebao on a separate schedule from my other two which are using DCPump on sync and anti-sync. The third pump will be using the expansion channel 2, and im trying to figure out how to put on long pulse and short pulse at different times of day. I can write the if>then to change when i want it on which mode, but have had trouble coding the expansion channel to do what i want it to.
Thanks!
Coding Third Jebao on Dim Exp
Re: Coding Third Jebao on Dim Exp
You want something like this:
2 is the channel, put in your min, max, and duration. True is for the sync value (doesn't really do much in this situation, but needed for proper syntax).
LongPulseMode is done the same way.
--Colin
Code: Select all
ReefAngel.PWM.SetChannel(2,ShortPulseMode(min,max,duration,true));
LongPulseMode is done the same way.
--Colin
Re: Coding Third Jebao on Dim Exp
Awesome! Thank you very much. I was so close.. haha