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.
Registers an event to be fired when one of the delimiter is matched.
Read buffered serial data as a string in Microsoft MakeCode.
Read a line of text from the serial port using the serial.readLine() function.
Read a text from the serial port until a delimiter is found.
Learn how to write a number to the serial port using Microsoft MakeCode.
Set the Serial Peripheral Interface (SPI) signalling pins for micro:bit.
Write a data value to the SPI slave device and return its response.
Specify which pin (P0, P1, P2) is used to generate tones in micro:bit projects.
Configure the electrical pull of the specified pin on micro:bit.