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.
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.
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.
Learn how to display images on the LED screen using the micro:bit.
Displays selected icons on an LED screen using Microsoft MakeCode.