Page 1 of 1

Re: smoothing out led dimming

Posted: Sun Nov 08, 2015 8:59 pm
by lnevo
I'm pretty sure thats not the case.

Re: smoothing out led dimming

Posted: Mon Nov 09, 2015 5:37 am
by lnevo
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

Posted: Mon Nov 09, 2015 10:23 am
by rimai
I think you are right.
Looking at the code now, it looks like it would work.