1
- # 1 Guide to uasyncio V3
1
+ # 1. Guide to uasyncio V3
2
2
3
3
The new release of ` uasyncio ` is pre-installed in current daily firmware
4
4
builds. This complete rewrite of ` uasyncio ` supports CPython 3.8 syntax. A
@@ -28,11 +28,12 @@ useful in their own right:
28
28
* [ GPS driver] ( ./docs/GPS.md ) Includes various GPS utilities.
29
29
* [ HTU21D] ( ./docs/HTU21D.md ) Temperature and humidity sensor.
30
30
* [ I2C] ( ./docs/I2C.md ) Use Pyboard I2C slave mode to implement a UART-like
31
- asynchronous stream interface. Typical use: communication with ESP8266.
31
+ asynchronous stream interface. Uses: communication with ESP8266, or (with
32
+ coding) interface a Pyboard to I2C masters.
32
33
* [ NEC IR] ( ./docs/NEC_IR.md ) A receiver for signals from IR remote controls
33
34
using the popular NEC protocol.
34
35
35
- # 2 V3 Overview
36
+ # 2. V3 Overview
36
37
37
38
These notes are intended for users familiar with ` asyncio ` under CPython.
38
39
@@ -66,7 +67,7 @@ supported.
66
67
The ` Future ` class is not supported, nor are the ` event_loop ` methods
67
68
` call_soon ` , ` call_later ` , ` call_at ` .
68
69
69
- # 3 Porting applications from V2
70
+ # 3. Porting applications from V2
70
71
71
72
Many applications using the coding style advocated in the V2 tutorial will work
72
73
unchanged. However there are changes, firstly to ` uasyncio ` itself and secondly
@@ -93,7 +94,7 @@ MicroPython and CPython 3.8. This is discussed
93
94
### 3.1.2 Change to stream I/O
94
95
95
96
Classes based on ` uio.IOBase ` will need changes to the ` write ` method. See
96
- [ tutorial] ( ./docs/TUTORIAL.md## 64-writing-streaming-device-drivers ) .
97
+ [ tutorial] ( ./docs/TUTORIAL.md#64-writing-streaming-device-drivers ) .
97
98
98
99
## 3.2 Modules from this repository
99
100
@@ -143,7 +144,7 @@ New versions are provided in this repository. Classes:
143
144
* ` Switch ` Debounced switch with close and open callbacks.
144
145
* ` Pushbutton ` Pushbutton with double-click and long press callbacks.
145
146
146
- # 4 Outstanding issues with V3
147
+ # 4. Outstanding issues with V3
147
148
148
149
V3 is still a work in progress. The following is a list of issues which I hope
149
150
will be addressed in due course.
0 commit comments