Hi I currently have a Pyboard D SF6W with the latest firmware 1.12
When I try " import _thread" or "import uasyncio" I get a message saying "module not found"
Can someone talk me through how to install these modules for my pyboard D?
How do I use Threading / Uasyncio Pyboard D
Re: How do I use Threading / Uasyncio Pyboard D
I can't tell you about threads, but for asyncio you need to use firmware _post_ 1.12, i.e. a daily build.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: How do I use Threading / Uasyncio Pyboard D
@tve is right about uasyncio.
Re threading, there does seem to be an issue with the downloads page on micropython.org. Firmware for Pyboard 1.x is available with threading enabled. It is not there for the Pyboard D. I'm sure this is an oversight: I will report it.
FWIW I strongly recommend usayncio for reasons which may be found here.
Re threading, there does seem to be an issue with the downloads page on micropython.org. Firmware for Pyboard 1.x is available with threading enabled. It is not there for the Pyboard D. I'm sure this is an oversight: I will report it.
FWIW I strongly recommend usayncio for reasons which may be found here.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.