Skip to content

Barefoot - litter hunt, lesson 1

Lesson 1 of 2

MakeCode

7-11 yrs

In this lesson, pupils develop their understanding of the micro:bit by using the buttons and sensors on the device to make different images display. Pupils are introduced to the concept of a variable to store data, then create a program to alter the value of a variable using the buttons and sensors. Pupils go on to create a ‘push the button’ game, where they race against another player to see who can press the button the fastest.

Key learning:

  • I can explain what the buttons and sensors on the micro:bit do
  • I can program sensors and buttons using the MakeCode editor
  • I can store data with variables using the MakeCode editor
Barefoot logo

These lessons are contributed by Barefoot. If you wish to download the videos for this lesson, please visit the Barefoot website.