Hi all,
I'm new to MicroPython, trying to get MicroWebSrv2 running and it requires the _thread module which does not appear to be part of the image for the ESP8266.
Can anyone guide me on installing this?
Thanks for any assistance!
Arlo
Installing _thread module
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Installing _thread module
There is no thread support on MicroPython for ESP8266, see :
- GitHub issue #3667 "esp8266: multi threading";
- topic "Thread support ESP8266 build" in MicroPython Forum.
- GitHub issue #3667 "esp8266: multi threading";
- topic "Thread support ESP8266 build" in MicroPython Forum.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
Re: Installing _thread module
Darn - thank you. Time to switch to ESP32 then.
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Installing _thread module
What about "uasyncio — asynchronous I/O scheduler"
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Installing _thread module
Which is supported on ESP8266 and is much more efficient that threading. Applications using it are also less prone to nasty runtime bugs.uasyncio
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.