diming expansion start time

Request new hardware or ideas for the controller
Post Reply
Ademster
Posts: 144
Joined: Tue Aug 14, 2012 1:11 pm

diming expansion start time

Post by Ademster »

how do I code to have lets say channel 3 of the dimming expansion module to come on few minutes before channel 2 and then few minutes later channels 1-2-4 come on and start the normal ramp up durration
Adam
58 Gal
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: diming expansion start time

Post by lnevo »

When do you want channel 3 to go off in relation to 1-2-4?
Ademster
Posts: 144
Joined: Tue Aug 14, 2012 1:11 pm

Re: diming expansion start time

Post by Ademster »

5min before and after,

my light cycle is currently 11-8

I do have code saved to internal memory, if that changes anything.
Adam
58 Gal
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: diming expansion start time

Post by lnevo »

So you just give it a 5 as the offset.

So if you have ReefAngel.PWM.Channel2PWMSlope();

You'd do
ReefAngel.PWM.Channel3PWMSlope(5);
Ademster
Posts: 144
Joined: Tue Aug 14, 2012 1:11 pm

Re: diming expansion start time

Post by Ademster »

okay thanks, I will give it a test when i am done doing my coding for the new lights.


adam
Adam
58 Gal
Image
Post Reply