start tutorial
This commit is contained in:
20
tutorial/06-button-input/README.md
Normal file
20
tutorial/06-button-input/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# 06 - Button Input (6 min)
|
||||
|
||||
## Goal
|
||||
|
||||
Button an PA0 (Pull-up) lesen und Press/Release als Log ausgeben.
|
||||
|
||||
## Run
|
||||
|
||||
- `bash scripts/run-step.sh 06 task`
|
||||
|
||||
## Tasks
|
||||
|
||||
1. Verdrahtung prüfen: PA0 -> Button -> GND.
|
||||
2. Starte `task` und beobachte Logs.
|
||||
3. Passe Polling-Intervall an.
|
||||
|
||||
## Done when
|
||||
|
||||
1. Pressed/Released wird korrekt erkannt.
|
||||
2. Keine Flut von Wiederhol-Logs bei gehaltenem Taster.
|
||||
Reference in New Issue
Block a user