cancel
Showing results for 
Search instead for 
Did you mean: 

How can I Turn a Pwm signal in to a High (one) in the same pin?

Js.1218
Associate

I´m using a PWM signal and the complementary with TIM1(timer1). The Pwm´s complementary singal is going out from pin A7, then I want to turn off the pwm signal from that pin and turn on a HIGH value (one) in the exact same pin (A7). I want to do that every time I want.

The thing is that I can´t do that using HAL_GPIO_WritePin(), I think that it is because of the port is not in GPIO mode.

Can somebody help me please?

That would be really helpfull.

I have got a STM32F103C8

0 REPLIES 0