cosmith71 wrote:I think this:
will override memory settings.Code: Select all
ReefAngel.PWM.SetDaylight( PWMSlope(14,0,22,30,15,60,60,0) ); ReefAngel.PWM.SetActinic( PWMSlope(13,30,23,0,15,80,60,0) );
--Colin
PWM Slope Code
-
- Posts: 19
- Joined: Thu Mar 06, 2014 5:02 pm
- Location: Hewitt NJ
Re: PWM Slope Code
OK so to answer my question.. So this should all take effect today and my lights will turn off at 11:00PM tonight?
Re: PWM Slope Code
I should think so.
--Colin
--Colin
-
- Posts: 19
- Joined: Thu Mar 06, 2014 5:02 pm
- Location: Hewitt NJ
Re: PWM Slope Code
Ok hopefully this does it. If they don't turn off ill just manually override them to off and see if they take effect in 24 hours.
cosmith71 wrote:I should think so.
--Colin
Re: PWM Slope Code
I've never heard of that before.
--Colin
--Colin
-
- Posts: 19
- Joined: Thu Mar 06, 2014 5:02 pm
- Location: Hewitt NJ
Re: PWM Slope Code
Ok I uploaded
ReefAngel.PWM.SetDaylight( PWMSlope(14,0,22,30,15,60,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(13,30,23,0,15,80,60,0) );
Should the percentage values reflect under internal memory within portal? In portal it's showing
Daylights Start 15% End 60% (14,0,22,30,15,60,60,0) );
Actinics Start 15% End 75% (13,30,23,0,15,80,60,0) ); end should be 80%
Do I need to manually change the percent in portal or will it change once it goes through the loop?
ReefAngel.PWM.SetDaylight( PWMSlope(14,0,22,30,15,60,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(13,30,23,0,15,80,60,0) );
Should the percentage values reflect under internal memory within portal? In portal it's showing
Daylights Start 15% End 60% (14,0,22,30,15,60,60,0) );
Actinics Start 15% End 75% (13,30,23,0,15,80,60,0) ); end should be 80%
Do I need to manually change the percent in portal or will it change once it goes through the loop?
Re: PWM Slope Code
They are separate. The portal values are irrelevant when you've specified times, etc in the code. They won't update, nor will it make any difference what you change them to since you've hard coded the values.
--Colin
--Colin
-
- Posts: 19
- Joined: Thu Mar 06, 2014 5:02 pm
- Location: Hewitt NJ
Re: PWM Slope Code
Ah ok thanks
cosmith71 wrote:They are separate. The portal values are irrelevant when you've specified times, etc in the code. They won't update, nor will it make any difference what you change them to since you've hard coded the values.
--Colin