device Serial Number

Get the serial number for the Adafruit Circuit Playground Express

control.deviceSerialNumber()

The system software in your board creates a unique number to identify the board. You can use this number in your program if you want to know which board is running your program.

Returns

  • a number that is created to uniquely identify this board.

Example

Write the board serial number to the serial port.

serial.writeValue("serialnumber", control.deviceSerialNumber());

See also

device dal version