Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhailms/microbit-discovery-examples
Examples of micro:bit exercises from Discovery Book (with some improvements)
https://github.com/mikhailms/microbit-discovery-examples
Last synced: 2 days ago
JSON representation
Examples of micro:bit exercises from Discovery Book (with some improvements)
- Host: GitHub
- URL: https://github.com/mikhailms/microbit-discovery-examples
- Owner: MikhailMS
- Created: 2022-09-06T20:38:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-12T00:17:36.000Z (over 2 years ago)
- Last Synced: 2024-11-08T15:40:17.687Z (about 2 months ago)
- Language: Rust
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Micro:bit V2 Examples
Exercises taken from [Discovery Book: Embedded Rust](https://docs.rust-embedded.org/discovery/microbit/index.html)
All exercises were re-worked to remove any bits of unsafe code & add better error handling
Also expanded functionality so it is a bit more advanced :)## Examples
Original article has multiple examples, but those are more about learning one's way around Embedded concepts, so I'm trying to incorporate a bit of fun in there to ensure I fully understand how Embedded world works
1. `i2c`
2. `led_compass`
3. `led_roulette`
4. `punch_o_meter`
5. `scrolling_led`## Use
1. Select example
2. Then from example folder execute
```
# To build & flash binaries
cargo embed --target thumbv7em-none-eabihf --release# To find out how big is the binary
cargo size --target thumbv7em-none-eabihf --release -- -A
```