micropython-lib
micropython-lib copied to clipboard
Core Python libraries ported to MicroPython
I have written some code that uses the `asyncio` module. The entrypoint point to my code looks like this: ```python try: control.main() except KeyboardInterrupt: pass except Exception as exc: sys.print_exception(exc)...
Look through the Doc and code, i found Qos=2 messages are not supported in umqtt module.It's good to keep the code size small,but this function will make this module more...
I have a problem with aioble on my pico w. I have created two services, but at most seven characteristics are displayed. For example, for the truncated code section below,...
--- MicroPython v1.23.0 on 2024-06-02; Raspberry Pi Pico with RP2040 --- -- Datetime library installed via mip (mpremote) so: `mpremote mip install datetime` Discovery code: ``` >>> from datetime import...
The USB pending transfer flag was cleared before calling the completion callback, to allow the callback code to call submit_xfer() again. Unfortunately this isn't safe in a multi-threaded environment, as...
Returns two bi-directional linked stream objects where writes to one can be read from the other and vice/versa. This can be used somewhat similarly to a socket.socketpair in python, like...
In my project I am connecting using aioble to a human input device. There is noticeable input lag. Turns out the RTT latency is a little over 200ms (I test...
The RP2 chip's PIO peripheral is a powerful piece of hardware capable of performing tasks that might otherwise require very fast bit-banging code, but it's also quite difficult to validate...
A BLE peripheral that bonds also assumes that the services and characteristics and descriptors discovered during the bonding connection are saved by the client such that on a reconnect, after...
Hello! There are many instances online about people complaining of `OSError: [Errno 2] ENOENT` errors when trying to initialize WebREPL, particularly on the Pico W. It appears that these people...