PWMSlope

PWMSlope
This is a linear fade up to a given value. This value is held until the fade is reversed.
 * Start hour - Hour value for the start time of the Slope
 * Start minute - Minute value for the start time of the Slope
 * End hour - Hour value for the end time of the Slope
 * End minute - Minute value for the end time of the Slope
 * Start percentage - Starting strength of lights in %
 * End percentage - Peak strength of lights in %. This is the strength of lights that will hold In between the fade up and down
 * Duration - Length of time it takes from StartHour/Minute to reach the peak value
 * default value.

Code:
void loop

{

ReefAngel.PWM.SetDaylight( PWMSlope(9,0,20,0,15,100,60,15) ); // Type of fade, StartHour, StartMinute, EndHour, EndMinute, StartPercentage, EndPercentage, Duration,DefaultValue

}