Learn how to raise an event in the event bus using the micro:bit API.
Blocks the current fiber for a specified duration in micro-seconds.
Learn how to write a buffer to the serial port using Microsoft MakeCode.
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.
Read a line of text from the serial port using the serial.readLine() function.
Learn how to write a string to the serial port without starting a new line afterward.
Learn how to send name:value pairs to the serial port using the write Value function in Microsoft MakeCode.
Write a string to the serial port and start a new line of text by writing \r\n.
Read and write data over a serial connection.
Set the Serial Peripheral Interface (SPI) clock frequency for micro:bit.