PWM issue with ATMEGA8A
Posted: Fri Nov 10, 2023 9:53 pm
Hello, I want to get a PWM signal out at port B3 of a ATMEGA8A. This port uses Timer2 for PWM signal.
The other two ports PWM B1 and B2 use the Timer1.
Unfortunately that doesn't work. In a test program that enables only PWM ports and then sets DutyCycle at 255, B1 and B2 turn on, B3 doesn't.
The other two ports PWM B1 and B2 use the Timer1.
Unfortunately that doesn't work. In a test program that enables only PWM ports and then sets DutyCycle at 255, B1 and B2 turn on, B3 doesn't.