Find how long it has been since the program started.
input.runningTime();
When you press button B
on the microbit, this
program finds the number of milliseconds since the program started
and shows it on the LED screen.
input.onButtonPressed(Button.B, () => {
let now = input.runningTime()
basic.showNumber(now)
})