In this lesson, we will use the buttons to change the value of a variable using selection. We will then develop our programs to update the variable by using the micro:bit's accelerometer which senses motion. Finally, we will learn that a variable can be displayed after it is updated or in response to an input.
Licence
This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.