Blocks the current fiber for a specified duration in micro-seconds.
Reset the micro:bit and restart the program with a simple function call.
Learn how to run parts of a program concurrently in Microsoft MakeCode.
Runtime and event utilities for programming with Microsoft MakeCode.
Read available serial data into a buffer for processing in programming environments.
Learn how to write a buffer to the serial port using Microsoft MakeCode.
Sets the padding length for text lines written to the serial port.
Learn how to set the baud rate for serial connections in micro:bit programming.
Direct the serial input and output to use the USB connection for micro:bit.
Learn how to configure the serial port on micro:bit to use pins instead of USB for data transmission.
Registers an event to be fired when one of the delimiter is matched.
Read buffered serial data as a string in Microsoft MakeCode.