Skip to content

Controlling music with inputs

Lesson 4 of 5

MakeCode

7-11 yrs

Pupils develop their understanding of using the inputs and outputs on the BBC micro:bit and write, test and debug programs to experiment with using selection and the accelerometer to play different notes. They also consider how the micro:bit could be used to help people who find playing instruments difficult. 

Key learning:

  • To identify how inputs are used in programs
  • To write programs that use inputs and selection
  • To write and evaluate algorithms

You may also be interested in

This unit of four lessons is suitable for students aged 7-8 years. They create nature representations, firstly using art materials and are introduced to computational thinking and programming the LEDs on the BBC micro:bit. 

Five lessons aimed at students aged 7-8 years. Students design and program digital flashcards to help them learn a foreign language using the BBC micro:bit.

Five lessons aimed at students aged 8-9 years. Students explore animations, developing their computational thinking and use repetition to create volcanic eruption animations using the LEDs on the BBC micro:bit.