http://forum.reefangel.com/status/chart ... lter=pwme1 Interestingly, the blues on channel 0 seem to be working correctly.
http://forum.reefangel.com/status/chart ... lter=pwme0 Here's the lighting control code:
Code: Select all
// Cloud/lightning lighting control
FireInTheHole=false;
ReefAngel.PWM.SetChannelRaw(0,PWMSmoothRampHighRes(9,30,22,30,0,InternalMemory.read(Mem_B_SlopeEndBlue),60,0));
DaylightPWMValue=PWMSmoothRampHighRes(10,30,22,0,0,InternalMemory.read(Mem_B_SlopeEndWhite),60,0);
//if (!powerOutage) CheckCloud();
if (!FireInTheHole) ReefAngel.PWM.SetChannelRaw(1,DaylightPWMValue);
Code: Select all
ReefAngel.PWM.SetChannelRaw(0,PWMSmoothRampHighRes(9,30,22,30,0,70,60,0));
ReefAngel.PWM.SetChannelRaw(1,PWMSmoothRampHighRes(10,30,22,0,0,75,60,0));