Page 2 of 2

Re: Continued issues with WeAct STM32F411

Posted: Mon Oct 05, 2020 3:55 pm
by ddano007
fpiSTM wrote: Mon Oct 05, 2020 2:07 pm Else, You can use the HardwareTimer library:
...
Thanks for tip, I will try it...

Re: Continued issues with WeAct STM32F411

Posted: Mon May 10, 2021 9:45 am
by AndrewBCN
ddano007 wrote: Mon Oct 05, 2020 9:19 am Hi, guys. I have BlackPill V3.0 STM32F411CEU6 board and want to use 16-pit PWM output.
When using pwmWrite() command I got
'pwmWrite' was not declared in this scope
message when compiling my sketch. Is there any way to have 16-bit PWM resolution for this board in Arduino IDE?
analogWriteResolution(16) + analogWrite() command still have only 12-bit resolution.
Thanks.
Hi, please check the recently closed issues in STM32 core GitHub. I found a typo in the core code that prevented getting 16-bit resolution PWM, the fix for that is really simple.