Explain a bit about example and how to run it.

This commit is contained in:
Andrew Walbran
2023-03-20 14:26:57 +00:00
parent 790597bae2
commit 2d64edf0d6
+13
View File
@@ -1,5 +1,18 @@
# Raw MMIO # Raw MMIO
Most microcontrollers access peripherals via memory-mapped IO. Let's try turning on an LED on our
micro:bit:
```rust,editable,compile_fail ```rust,editable,compile_fail
{{#include examples/src/bin/mmio.rs:Example}} {{#include examples/src/bin/mmio.rs:Example}}
``` ```
<details>
Run the example with:
```sh
cargo embed --bin mmio
```
</details>