Year 6 have been using Microsoft Makecode https://makecode.microbit.org/ to create programs to control the micro bit. They have been learning:
To create a program to run on a controllable device
To explain that selection can control the flow of a program
To update a variable with a user input
To design a project that uses inputs and outputs on a controllable device
The children programmed the micro bit to light LEDs, be a fortune teller, a compass and a step counter using strings, selection and creating variables.