kopia lustrzana https://github.com/peterhinch/micropython-samples
uasyncio README: reference low power applications.
rodzic
848fad9b37
commit
0916a421e0
|
@ -76,14 +76,13 @@ MicroPython optimised primitives are in `uasyncio/`. Primitives compatible with
|
||||||
# 6. Future uasyncio implementations
|
# 6. Future uasyncio implementations
|
||||||
|
|
||||||
If part of `uasyncio` is to be implemented in C, it would be good if the following
|
If part of `uasyncio` is to be implemented in C, it would be good if the following
|
||||||
capabilities were retained to facilitate writing efficient add-on modules along the
|
capabilities were retained:
|
||||||
lines of the `Message` and `Barrier` classes:
|
|
||||||
1. The ability to subclass the `asyncio` compatible primitives.
|
1. The ability to subclass the `asyncio` compatible primitives.
|
||||||
2. The ability to subclass `uasyncio.Primitive` (if you implement it).
|
2. The ability to subclass `uasyncio.Primitive` (or provide other access to that
|
||||||
3. Some means of creating awaitable classes (e.g. `__iter__`).
|
functionality).
|
||||||
|
3. A means of replacing the timebase by one based on the RTC for low power
|
||||||
The mechanism for doing these things might change, but it would be a shame to lose
|
applications.
|
||||||
the capability.
|
4. A means of creating awaitable classes (e.g. `__iter__`).
|
||||||
|
|
||||||
# 7. Revisiting topics discussed via email
|
# 7. Revisiting topics discussed via email
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue