Play no sound (rest) on the speaker or at a sound pin for the amount of time you say.
Play musical tones on the micro:bit with adjustable pitch using the ring tone feature.
Play a musical tone on the micro:bit for a specified duration using frequency and duration parameters.
Learn to generate music tones using pin P0 with Microsoft MakeCode.
Learn how to configure the micro:bit's accelerometer to measure different levels of acceleration.
Find how long a program has run since it was started, in milliseconds.
Learn how to measure magnetic force using the micro:bit in various directions.
Find how much the micro:bit is tilted in different directions using its accelerometer.
Measure the light level around you using the micro:bit's light sensor.
Get the acceleration value in milli g-force in three dimensions or combined force in all directions.
Learn how to measure temperature using the micro:bit and display it in Celsius or Fahrenheit.
Find whether the pin you say is pressed or not pressed.