Serial

Reading and writing data over a serial connection.

The Adafruit Circuit Playground Express can read data from and write data to another computer or device with a serial connection using USB. To use serial communication between your board and MakeCode, you need the MakeCode for Adafruit app for Windows 10 and a USB cable.

You can also write data to an output log with the console functions without having to use a serial connection.

serial.writeLine("");
serial.writeNumber(0);
serial.writeValue("x", 0);
serial.writeString("");

Advanced

serial.writeBuffer(null);

See Also

write line, write string, write number, write value, write buffer, console