Get the acceleration value in milli g-force in three dimensions or combined force in all directions.
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.
Learn how to use the on button pressed event handler for micro:bit programming.
Displays selected arrows on an LED screen using Microsoft MakeCode.
Pause the program for a specified duration in milliseconds to control execution timing.
Learn how to use the forever loop to keep parts of your program running continuously in MakeCode.
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.
Displays selected icons on an LED screen using Microsoft MakeCode.