Page 1 of 1

Cant use pwmWrite()

Posted: Thu Mar 30, 2023 11:16 pm
by dhlii
I am using an STM32Blue Pill with 12PWM's and the STMicroelectronix:stm32:GenF1 board, to drive 12 PWM's
analogWrite() works as expected, but pwmWrite() is undefined.

somewhat related, how is the Board Support code organzed - i.e. Where would I find the STMicrolectroncs:stm32:GenF1 BSP code.

I have worked extensively with STM32's before and can fix my own problems if I understood the structure of the BSP.

Re: Cant use pwmWrite()

Posted: Fri Mar 31, 2023 4:53 am
by fpiSTM
PwmWrite is not part of stm32 core but maple core. Use analogWrite instead or HardwareTimer library.