File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ having a hitch in your app OR manually interleaving tasks and tracking their sta
13
13
Instead of blocking with ` time.sleep() ` you'll ` await asynccp.delay() ` to let the microcontroller work on other
14
14
things.
15
15
16
+ The ` async ` and ` await ` keywords are supported in Circuitpython 6.0. They may be unavailable on your m0
17
+ microcontroller because of flash space.
18
+
16
19
## Examples
17
20
### Plain synchronous loop task with async support
18
21
``` python
@@ -184,8 +187,3 @@ asynccp.schedule(Duration.of_milliseconds(10), coroutine_function=rotary.loop)
184
187
asynccp.run()
185
188
# ---------- asynccp wiring ends here ---------- #
186
189
```
187
-
188
-
189
- ## Want to try it out on your microcontroller?
190
- Cool! The ` async ` and ` await ` keywords are supported in Circuitpython 6.0. Unless you are from the future you will
191
- need to update your microcontroller. Also, it may be unavailable on your m0 microcontroller because of flash space.
You can’t perform that action at this time.
0 commit comments