incorrect Timer Period on Wemos ESP32S2 Mini & Pico #10184
Unanswered
fpgirard
asked this question in
Hardware & Peripherals
Replies: 1 comment 1 reply
-
Does the MicroPython version you are compiling include this pull request: #10014? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting an errant period interval on my timers on the Lolin/Wemos ESP32S2 boards (both the Pico & Mini). It's exactly double the length of time stated in the timer initialization. The period interval is correct when I flash these boards from the downloadable micropython site but when I compile it from scratch, it's 2x the value. I've git pulled the latest micropython and checked out ESP-IDF 4.4) -
git checkout v4.4
andgit submodule update --init --recursive
. I've also specified the correct board during the build -idf.py -D BOARD=LOLIN_S2_PICO build
and erased the board prior to flashing.Obviously, the easiest thing for me to do is to use the downloadable bin file but I was concerned that I might have discovered something that needs to be fixed for these boards. On a separate note, Peter Hinch, your asyncio MQTT code is awesome - my modules have been running for weeks on an intermittent Wifi network since I incorporated your MQTT libraries. Thank you.
Here's the simplest code that reveals the problem:
Beta Was this translation helpful? Give feedback.
All reactions