smoothing out led dimming

Requests for new functions or software apps
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sun Nov 08, 2015 8:59 pm
I'm pretty sure thats not the case.
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Nov 09, 2015 5:37 am
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]
   ));   
}

Posts: 12272
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Nov 09, 2015 10:23 am
I think you are right.
Looking at the code now, it looks like it would work.
Roberto.
Previous

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron