micropython-lib
micropython-lib copied to clipboard
Core Python libraries ported to MicroPython
On a ble peripheral system with a "significant" number of background asyncio tasks, reception & handling concurrent characteristic writes (eg. a looping task with `await characteristic.written()` can occur out of...
TLS calls work in the 1.19.1 official release binary and with master commit 13c4470fd04981fce3fd29771e1d973febbe7d60 built against ESP-IDF 4.2. ``` MicroPython v1.19.1-437-g13c4470fd on 2022-09-20; ESP32 module with ESP32 Type "help()" for...
Spent some time troubleshooting if I had bad drivers, firmware, or chip, but eventually figured out that the way the current [nrf24l01test.py](https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/radio/nrf24l01/nrf24l01test.py) file handles SPI buses and non-default pinouts is...
I have a port of MicroPython which includes the ure module. I tried to bring in the textwrap module from this project, but ran into a couple of issues: ```...
Minor typo.
This provides an async REPL with the following features: - Run interactive REPL in the background. - Execute statements using await. - Simple history. See documentation and example here https://github.com/jimmo/micropython-lib/tree/aiorepl/micropython/aiorepl
This replaces the options that could be specified previously to include and require. The `aioble` package provides the same as the default options did previously. Optional dependencies can now be...
This just allows most basic usages of weakref in other modules to "work" unless they test for actual cleanup via gc.collect etc. Docs: https://docs.python.org/3/library/weakref.html#weakref.ref
As indicated in this issue: https://github.com/micropython/micropython-lib/issues/328, it would be useful if wait_msg() would return a value if a message was received. A common use case using this library would be:...