I have never used asyncio before, but I have used Threading (which I’ve found is problematic on the Pico) I read all the asyncio stuff but was having a hard time understanding it and getting it to work. This is
You are correct that the Raspberry Pi runs Linux. And Python (CPython) allows multi-threading applications to be written. However this article is about MicroPython running on a uController, specifically the Raspberry Pi Pico (although there is an article for the ESP32 (and its little sibling)...
A total of nine boards have been added to the release: ESP32_GENERIC_C6, M5STACK_ATOMS3_LITE, M5STACK_NANOC6, OLIMEX_ESP32_EVB, UM_FEATHERS3NEO, UM_OMGS3, UM_RGBTOUCH_MINI and UM_TINYC6 (esp32 port), RPI_PICO2 (rp2 port), ARDUINO_OPTA (stm32 port). Since ...
Since a number of features can be set in the firmware (threading, support for SD card, LEDs, user switch etc.), and it is impossible to create something that suits everyone, these releases should only be used for quick testing of ulab. Otherwise, compilation from the source is required ...
The zephyr port has updated to use Zephyr v3.7.0, threading has been implemented through the_threadmodule, the REPL now operates in non-blocking mode so it can process events/callbacks, some more Python features including big-integers have been enabled, and machine objects (eg Pin, I2C) can...
mb_23LC1024 - Very simple MicroPython module to use a Microchip 23LC1024 SPI SRAM with a Raspberry Pi Pico (RP2040). mb_47x16 - Very simple MicroPython module/driver for Microchip 47x16 EERAM devices (47L/47C). Threading MicroWorkers - A micro workers class that easily manages a pool ...
Threading was also implemented. The main loop runs in a separated thread and reads the received data using polling. The garbage collector was needed to avoid full memory error. I think, MicroPython has still some memory leak problems yet; ...
threading and concurrency when using both cores.The samd port has been significantly extended to include: named pins with a pins.csv file, and Pin.board and Pin.cpu attributes; ADC, PWM, DAC, SoftSPI, SoftI2C, SPI, I2C and RTC classes added to the machine module; pin.irq() method and...
mb_23LC1024 - Very simple MicroPython module to use a Microchip 23LC1024 SPI SRAM with a Raspberry Pi Pico (RP2040). mb_47x16 - Very simple MicroPython module/driver for Microchip 47x16 EERAM devices (47L/47C). Threading MicroWorkers - A micro workers class that easily manages a pool ...
update submodule to latest - pico-sdk: update to version 2.1.0 - mbedtls: update to mbedtls v3.6.2 - pico-sdk: update to version 2.1.1 - cyw43-driver: update driver to latest version v1.1.0 - alif_ensemble-cmsis-dfp: add new submodule for Alif SDK v1.3.2 - alif-security-toolkit...