In this lesson you will use the buttons to change the value of a variable using selection. You will then develop your program to update the variable by moving their micro:bit using the accelerometer to sense motion. Finally, you will learn that a variable can be displayed after it is updated or in response to an input.
Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:
- Click "Close Video"
- Click "Next" to view the activity
Your video will re-appear on the next page, and will stay paused in the right place.
This quiz is a great way for you to test your learning from this lesson.
If you would like to re-cap any of the lesson, or repeat any exercise, click ‘Back’ below.