Resolved! How Do I set a Timer output compare high or low?
I am working on a project that uses a PWM on a timer to drive a buzzer. When the buzzer stops I need to set the output compare signal high. The timer set ARR to 250, and the compare value to 125, giving a 4kHz square wave with a 50% duty cycle. I...