mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
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
|
||||
|
||||
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