Skip to content

Commit 20908a6

Browse files
committed
added shield schematic
1 parent 8bdcb21 commit 20908a6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
264 KB
Loading

docs/embedded/1.Embassy/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,3 +476,11 @@ async fn main(spawner: Spawner) {
476476
To periodically blink and LED, you will need to be able to introduce a delay. You can do so manually, by introducing a `for` loop with a number of steps that takes into account the frequency of the processor. The issue with this method is that it would do a *"busy loop"* where the processor spends both time and energy doing unproductive instructions.
477477
478478
This approach does not benefit from the underlying `async` that could schedule another task with available work to be executed. If you want to introduce delays the *`embassy`* way, you can do it using the `Timer` interface, specifically the `Timer::after()` function which takes a `Duration`, or the more direct `after_milis`, `after_secs`, etc.
479+
480+
:::note Shield schematic
481+
482+
Schematic for the OxidOS shield that you can use in the project:
483+
484+
![shield](assets/sch.png)
485+
486+
:::

0 commit comments

Comments
 (0)