diff options
| author | Ulf Lilleengen <[email protected]> | 2024-05-18 10:17:03 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2024-05-21 10:05:21 +0200 |
| commit | 739e5861c2e47db251725163fcd91cd822cf97b7 (patch) | |
| tree | 947dc7961ca7c42ec216056fc2adf616ab812b10 /docs/pages/examples.adoc | |
| parent | 51d553092550059afb22b2620cea14bbed21abff (diff) | |
convert from antora to asciidoctor
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 | ---- | ||
