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.