ESP32 PWM frequency bug

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
eragon24ß4
Posts: 2
Joined: Thu Jul 07, 2022 2:52 pm

ESP32 PWM frequency bug

Post by eragon24ß4 » Thu Jul 07, 2022 3:02 pm

Hi!
I need a PWM frequency of 400 on my ESP32 but it wont go lower then 611Hz.
I found this post https://github.com/micropython/micropython/pull/8200 discussing a solution.
Problem is: i also need ESPNow. Is there any build with ESPNow AND the frequency fix?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ESP32 PWM frequency bug

Post by Roberthh » Thu Jul 07, 2022 3:04 pm

Please update the firmware. This bug has been fixed a while ago.

eragon24ß4
Posts: 2
Joined: Thu Jul 07, 2022 2:52 pm

Re: ESP32 PWM frequency bug

Post by eragon24ß4 » Thu Jul 07, 2022 3:48 pm

Afaik the normal versions of mycropython still dont support ESPNow.
Luckily glenn posted ESPNow versions of micropython 1.19 just two days ago!
https://github.com/glenn20/micropython- ... g537248958
Good timing! :D

Post Reply