diff options
Diffstat (limited to 'docs')
| l--------- | docs/modules/ROOT/examples/examples | 1 | ||||
| -rw-r--r-- | docs/modules/ROOT/pages/examples.adoc | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/modules/ROOT/examples/examples b/docs/modules/ROOT/examples/examples new file mode 120000 index 000000000..1929330b0 --- /dev/null +++ b/docs/modules/ROOT/examples/examples | |||
| @@ -0,0 +1 @@ | |||
| ../../../../examples \ No newline at end of file | |||
diff --git a/docs/modules/ROOT/pages/examples.adoc b/docs/modules/ROOT/pages/examples.adoc index 198633c77..c852f5205 100644 --- a/docs/modules/ROOT/pages/examples.adoc +++ b/docs/modules/ROOT/pages/examples.adoc | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | = Examples | 1 | = Examples |
| 2 | 2 | ||
| 3 | Embassy provides examples for all HALs supported. You can find them in the `examples/` folder. | 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::example$examples/std/src/bin/tick.rs[] | ||
| 11 | ---- | ||
