Skip to content

Data conditions & selection

Lesson 4 of 5

MakeCode

7-11 yrs

Pupils explore using data collected by the sensors on the micro:bit as a condition in programs. Then plan, program and test using the micro:bit as a temperature warning system.

Key learning:

  • To know that data can be used as a condition in selection
  • To explore the effects of changing the value of data in programs
  • To write programs that use data as a condition