Continued issues with WeAct STM32F411

ddano007
Posts: 22
Joined: Mon Oct 05, 2020 9:08 am

Re: Continued issues with WeAct STM32F411

Post 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...
AndrewBCN
Posts: 105
Joined: Sun Apr 25, 2021 3:50 pm
Answers: 1
Location: Strasbourg, France

Re: Continued issues with WeAct STM32F411

Post 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.
Post Reply

Return to “STM32F4 based boards”