init basic examples and setup
This commit is contained in:
38
examples/README.md
Normal file
38
examples/README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Examples
|
||||
|
||||
Each example is its own Cargo package.
|
||||
|
||||
## Packages
|
||||
|
||||
- `blinky-basic` - simple delay, simple LED ownership story
|
||||
- `blinky-timer` - periodic blink with a timer abstraction
|
||||
- `button-input` - poll `PA0`, mirror state to `PC13`, log transitions
|
||||
- `embassy-blinky` - minimal Embassy executor and async blink
|
||||
- `embassy-button` - minimal Embassy polling loop for `PA0`
|
||||
|
||||
## Build One Example
|
||||
|
||||
```bash
|
||||
just build-blinky
|
||||
just build-timer
|
||||
just build-button
|
||||
just build-embassy-blinky
|
||||
just build-embassy-button
|
||||
```
|
||||
|
||||
## Flash One Example
|
||||
|
||||
```bash
|
||||
just flash-blinky
|
||||
just flash-timer
|
||||
just flash-button
|
||||
just flash-embassy-blinky
|
||||
just flash-embassy-button
|
||||
```
|
||||
|
||||
## Run With Logs
|
||||
|
||||
```bash
|
||||
just run-blinky
|
||||
just run-embassy-blinky
|
||||
```
|
||||
Reference in New Issue
Block a user