https://github.com/peterhinch/micropython-async
Application of uasyncio to hardware interfaces. Tutorial and code.
https://github.com/peterhinch/micropython-async
asyncio embedded micropython
Last synced: 8 months ago
JSON representation
Application of uasyncio to hardware interfaces. Tutorial and code.
- Host: GitHub
- URL: https://github.com/peterhinch/micropython-async
- Owner: peterhinch
- License: mit
- Created: 2016-12-06T09:06:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T17:35:46.000Z (8 months ago)
- Last Synced: 2025-05-08T18:38:01.459Z (8 months ago)
- Topics: asyncio, embedded, micropython
- Language: Python
- Homepage:
- Size: 2.03 MB
- Stars: 786
- Watchers: 43
- Forks: 170
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Asynchronous programming in MicroPython
CPython supports asynchronous programming via the `asyncio` library.
MicroPython provides `asyncio` which is a subset of this, optimised for small
code size and high performance on bare metal targets. This repository provides
documentation, tutorial material and code to aid in its effective use.
# asyncio version 3
Damien has completely rewritten `asyncio` which was released as V3.0. This is
incorporated in all recent firmware builds. The resources in this repo may be found in the
`v3` directory. These include a tutorial, synchronisation primitives, drivers,
applications and demos.
# Concurrency
Other documents provide hints on asynchronous programming techniques including
threading and multi-core coding.
### [Go to V3 docs](./v3/README.md)
# uasyncio version 2
This is obsolete: code and docs have been removed.