Hello @ABOSTM , thank you sooo much! That was it!
I didn't know PB0_ALT1 was different from PB0, that seemed kinda confusing. But now I'll keep the pinmap information at hand.
Thanks again!!!
Search found 2 matches
- Sat May 14, 2022 5:32 pm
- Forum: General discussion
- Topic: Adding Timer 2nd PWM channel breaks execution
- Replies: 2
- Views: 1290
- Fri May 13, 2022 3:31 pm
- Forum: General discussion
- Topic: Adding Timer 2nd PWM channel breaks execution
- Replies: 2
- Views: 1290
Adding Timer 2nd PWM channel breaks execution
Hi everyone, I'm struggling with the use of a 2nd or 3rd PWM channel on one timer. CORE STM32 official, stm34f411ce6 (blackpill) For example, the following code works: HardwareTimer *htim2 = new HardwareTimer(TIM2); HardwareTimer *htim3 = new HardwareTimer(TIM3); void setup() { htim2->setPWM(1, PA5,...