Code: Select all
ActinicPWMValue=PWMSlope(10,00,22,15,0,70,120,ActinicPWMValue);
DaylightPWMValue=PWMSlope(10,00,22,15,0,40,180,DaylightPWMValue);
Code: Select all
ActinicPWMValue=PWMSlope(10,00,22,15,0,70,120,ActinicPWMValue);
DaylightPWMValue=PWMSlope(10,00,22,15,0,40,180,DaylightPWMValue);
Code: Select all
ActinicPWMValue=PWMSlope(10,00,22,15,0,InternalMemory.LEDPWMActinic_read(),120,ActinicPWMValue);
DaylightPWMValue=PWMSlope(10,00,22,15,0,InternalMemory.LEDPWMDaylight_read(),180,DaylightPWMValue);
Code: Select all
ReefAngel.PWM.ActinicPWMSlope();
ReefAngel.PWM.DaylightPWMSlope();
ActinicPWMValue=ReefAngel.PWM.GetActinicValue();
DaylightPWMValue=ReefAngel.PWM.GetDaylightValue();