Finally figured out why a bunch of Micro Python code wasn’t working on an ESP32.
-
Finally figured out why a bunch of Micro Python code wasn’t working on an ESP32. The code is a mix of e-Paper display and networking code to produce a periodically updating image from remote API calls. I had it on good authority from a friend that it should work, but nope, not for me, it constantly hung on the HTTP API calls. The calls worked fine on their own without enabling the display code. Some sort of clash happening.
Anyhoo, the problem seems to be related to the Micro Python firmware. I tend to upgrade firmware maybe a bit too enthusiastically, and this time it bit me. I downgraded to Micro Python 1.26.0 and it’s working now.
I’m tempted to track down the actual issue, or maybe raise a bug report, but I also just want to get going with the fun coding.
-
R relay@relay.mycrowd.ca shared this topic