init basic examples and setup

This commit is contained in:
2026-05-25 18:16:02 +02:00
commit 8028dfd5fc
28 changed files with 2150 additions and 0 deletions

38
examples/README.md Normal file
View 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
```