- Notifications
You must be signed in to change notification settings - Fork0
Application of uasyncio to hardware interfaces. Tutorial and code.
License
MicroPythonNexus/micropython-async
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
CPython supports asynchronous programming via theasyncio library.MicroPython providesuasyncio which is a subset of this, optimised for smallcode size and high performance on bare metal targets. This repository providesdocumentation, tutorial material and code to aid in its effective use.
Damien has completely rewrittenuasyncio which was released as V3.0. SeePR5332. This is nowincorporated in release build V1.13 and subsequent daily builds.
Resources for V3 may be found in thev3 directory. These include a guide toporting applications from V2, an updated tutorial, synchronisation primitivesand various applications and demos.
V2 should now be regarded as obsolete for almost all applications with thepossible exception mentioned below.
The official version 2 is entirely superseded by V3, which improves on it inevery respect.
I produced a modifiedfast_io variant of V2 which is in use for somespecialist purposes. It enables I/O to be scheduled at high priority. Currentlythis schedules I/O significantly faster than V3; the maintainers plan toimproveuasyncio I/O scheduling. When this is complete I intend to delete allV2 material.
All V2 resources are in the V2 subdirectory:see this README.
About
Application of uasyncio to hardware interfaces. Tutorial and code.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- Python100.0%