|
Post by victorgrant on Apr 28, 2018 7:26:26 GMT
Hi, We're trying to get an LED dimmer/mixer working using PSMC on 16F1762. The reason we're trying to use the 16 bit PWM is that using the standard PWM resolutions, the changes in light level even in 0.1% increments at the low end of the brightness are very significant (Hence the theory that using higher resolution PWM will give us some steps in between). However - when using standard PWM, you can use the timer interrupt to set the pwm so you only change the mark/space ratio at the begining of the cycle. (Otherwise you get bad flicker when you change mark/space if you do it anywhere). However with the PSMC we can't see an interrupt that's related to the timer running it (we're not even sure if it's actually using a timer). Could somebody give us an guide to using it please? Any Suggestion Would be appreciate. I didn't find right solution on the internet. Reference: www.ccsinfo.com/forum/viewtopic.php?t=57118animated introduction examplesThanks
|
|