diff options
| author | Ulf Lilleengen <[email protected]> | 2024-05-21 08:11:34 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-21 08:11:34 +0000 |
| commit | cd27439fca0332ca1c20931ce587471f53e1b0ec (patch) | |
| tree | 8dd446c12202d5e242ba287f54cdf737ef29bd96 /docs/pages/examples.adoc | |
| parent | 51d553092550059afb22b2620cea14bbed21abff (diff) | |
| parent | bb9c687a39c0675bd622f612a645b16229cb9024 (diff) | |
Merge pull request #2958 from embassy-rs/embassy-book-refactor
Embassy book refactor
Diffstat (limited to 'docs/pages/examples.adoc')
| -rw-r--r-- | docs/pages/examples.adoc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/pages/examples.adoc b/docs/pages/examples.adoc new file mode 100644 index 000000000..82381a2c5 --- /dev/null +++ b/docs/pages/examples.adoc | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | = Examples | ||
| 2 | |||
| 3 | Embassy provides examples for all HALs supported. You can find them in the `examples/` folder. | ||
| 4 | |||
| 5 | |||
| 6 | Main loop example | ||
| 7 | |||
| 8 | [source,rust] | ||
| 9 | ---- | ||
| 10 | include::../examples/examples/std/src/bin/tick.rs[] | ||
| 11 | ---- | ||
