Cant use pwmWrite()

Post Reply
dhlii
Posts: 2
Joined: Thu Mar 30, 2023 9:18 pm

Cant use pwmWrite()

Post 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.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Cant use pwmWrite()

Post by fpiSTM »

PwmWrite is not part of stm32 core but maple core. Use analogWrite instead or HardwareTimer library.
Post Reply

Return to “PR's bugs and enhancements”