2019-11-16 04:01 AM
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