Sensing inputs
Pupils will initially use the buttons to change the value of a variable using selection. They will then develop their programs to update the variable by moving their micro:bit using the accelerometer to sense motion. Finally, they will learn that a variable’s value remains the same after it has been checked by the program.