
Python step counter
Lesson 4 of 6
Python
9-12 yrs, 11-14 yrs
Introduce variables to track your step count and begin to use the accelerometer input.
Key learning:
- I can explain that the accelerometer is a sensor, an input that senses movement.
- I can explain that variables are containers for storing data which can be accessed and updated.
- I can write instructions in Python to turn my micro:bit into a step counter using the accelerometer and variables.
Computer systems:
Input/output
Sensors
Programming:
Text-based programming
Variables
