Le scénario
A Micro:bit step counter reads accelerometer data, detects steps above a threshold, increments a counter, displays it on LEDs, and stops when button B is pressed.
Ce que contient ce dessin
Comprenez les décisions qui le sous-tendent.
01
Is acceleration above step threshold?
02
Has button B been pressed to stop?
Use this flowchart to teach students how to design step-counting logic for Micro:bit projects, including sensor input processing and loop control.