Add example snippet inclusion

This commit is contained in:
Ulf Lilleengen 2021-12-10 08:08:56 +01:00
parent 5c4a9043d1
commit 08e1fcd2e4
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
../../../../examples

View File

@ -1,3 +1,11 @@
= Examples
Embassy provides examples for all HALs supported. You can find them in the `examples/` folder.
Main loop example
[source,rust]
----
include::example$examples/std/src/bin/tick.rs[]
----