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.
Find which direction on a compass the micro:bit is facing.
Check if a button on the micro:bit is currently pressed, with examples and parameters.
Learn how to use the on pin pressed event handler for micro:bit to detect pin presses and trigger actions.
Explore events and data from sensors in Microsoft MakeCode.
Displays selected arrows on an LED screen using Microsoft MakeCode.
Pause the program for a specified duration in milliseconds to control execution timing.
Turn off all the LED lights on the LED screen using the basic.clearScreen() function.
Display a scrolling string on an LED screen using MakeCode.
Display a number on an LED screen that scrolls left for multi-digit values.