Add example snippet inclusion
This commit is contained in:
parent
5c4a9043d1
commit
08e1fcd2e4
2 changed files with 9 additions and 0 deletions
1
docs/modules/ROOT/examples/examples
Symbolic link
1
docs/modules/ROOT/examples/examples
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../examples
|
|
@ -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[]
|
||||
----
|
||||
|
|
Loading…
Reference in a new issue