micropython-async
Application of uasyncio to hardware interfaces. Tutorial and code. (by peterhinch)
micropython-lib
Core Python libraries ported to MicroPython (by micropython)
micropython-async | micropython-lib | |
---|---|---|
7 | 20 | |
694 | 2,248 | |
- | 0.8% | |
8.1 | 8.1 | |
3 months ago | 3 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
micropython-async
Posts with mentions or reviews of micropython-async.
We have used some of these posts to build our list of alternatives
and similar projects.
- Is it possible to bring out a micropython REPL onto a TFT display?
- _thread.interrupt_main() not defined: 'module' object has no attribute 'interrupt_main'
-
should i force myself to use asyncio?
If you want to use Micropython, you have to use asyncio. An example for an async switch: https://github.com/peterhinch/micropython-async/blob/master/v3/primitives/switch.py
-
Dual-core processing question
There are some great docs and tutorials here: https://github.com/peterhinch/micropython-async/tree/master/v3/docs
-
multithreading with micropython and passing variables between threads
async/await uses a single core but you can have as many tasks as you need. It's takes a little getting your head around but there are some good tutorials, e.g. https://github.com/peterhinch/micropython-async/blob/master/v3/docs/TUTORIAL.md
-
testing my automatic cat food dispenser, controlled by arduino uno, moved by a stepepr motor and build with 3d printed parts.
This is the queue I use: https://github.com/peterhinch/micropython-async/blob/master/v3/primitives/queue.py
-
Micropython asynchronous function for garage door opener
Is there an easy way to make the pushbutton() function run asynchronously? I was looking at this module but it seems somewhat overkill for my purpose.
micropython-lib
Posts with mentions or reviews of micropython-lib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-22.
-
Reading BLE heart rate monitor from pico W with micropython
This is the current version of my code (excuse the mess it's become..), adapted from https://github.com/micropython/micropython-lib/blob/7128d423c2e7c0309ac17a1e6ba873b909b24fcc/micropython/bluetooth/aioble/examples/temp_client.py
- OSError: [Errno 12] ENOMEM
- 在 MicroPython 中使用 OpenAI API
- CUSTOM HID : Do I need to stick in C ?
-
Looking for BLE SoC
STM32WB55 running MicroPython sounds like it'd suit. Should be fine for the power budget and aioble gives you one of the best BLE libraries on any platform. Documentation is generally good, though BLE is a little light (with some good examples and an active Discord channel!).
-
Need immediate help with a library
Pico (non-W) doesn't have upip (or mip, as that replaces upip now) or urequests because it doesn't have internet access required by them. In theory, you can download urequests from: https://github.com/micropython/micropython-lib/blob/master/python-ecosys/urequests/urequests.py or build your own MP image with it enabled. I don't know if it'll work as you want it to but it's worth a try.
-
EsPiFF: An ESP32 in the Raspberry Pi form factor
Using SD-card on ESP8266 was more challenging. upip.install('sdcard') does not work.
But ChatGPT truly helped and suggested I find it in Github.
https://github.com/micropython/micropython-lib/blob/master/m...
-
using UPip with Micropython to install extra modules - is it feasible?
I don't think there's a mip list command or something like that. So your best bet is to look at the subdirectories in https://github.com/micropython/micropython-lib for a list of installable packages.
- Radio Transceiver with nrf24l01 using Rpi pico
-
Can MicroPython be used in production?
Do give it another try if you get a chance; I'd be genuinely interested in hearing about your experience. Be sure to check out the awesome list and micropython-lib if you're looking to fill gaps. There are still many holes but they're rapidly being filled in.