Add example snippet inclusion
This commit is contained in:
parent
5c4a9043d1
commit
08e1fcd2e4
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
|
= Examples
|
||||||
|
|
||||||
Embassy provides examples for all HALs supported. You can find them in the `examples/` folder.
|
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 New Issue
Block a user