smoothing out led dimming
Re: smoothing out led dimming
Here's the function. It's callng HighRes slope and doing a SetChannelRaw. I think he's good....
Code: Select all
void RA_PWMClass::ChannelPWMSlope(byte Channel, byte Start, byte End, byte Duration)
{
SetChannelRaw(Channel,PWMSlopeHighRes(
InternalMemory.StdLightsOnHour_read(),
InternalMemory.StdLightsOnMinute_read(),
InternalMemory.StdLightsOffHour_read(),
InternalMemory.StdLightsOffMinute_read(),
Start,
End,
Duration,
ExpansionChannel[Channel]
));
}
Re: smoothing out led dimming
I think you are right.
Looking at the code now, it looks like it would work.
Looking at the code now, it looks like it would work.
Roberto.