- Sun Jan 04, 2009 4:19 pm
#62653
Evening all!
I've noticed an odd thing my AVR Tiny2313. I'm using all four PWM channels to drive some LEDs - real simple stuff - but for some reason I can't get a duty cycle of 0x00 for the channels driven by Timer0. The LEDs are still lit (less than duty at 0x01, but not off). The other two PWMs (which I have configured as 8-bit) don't show this problem.
I can turn the PWM off manually when the duty == 0x00, but I'd like to know why I have to.
Any ideas?
I've noticed an odd thing my AVR Tiny2313. I'm using all four PWM channels to drive some LEDs - real simple stuff - but for some reason I can't get a duty cycle of 0x00 for the channels driven by Timer0. The LEDs are still lit (less than duty at 0x01, but not off). The other two PWMs (which I have configured as 8-bit) don't show this problem.
I can turn the PWM off manually when the duty == 0x00, but I'd like to know why I have to.
Any ideas?
-Phil