pxt-calliope/docs/reference/control/device-name.md
2016-07-21 13:29:59 -07:00

300 B

Device Name

Gets a friendly name for the device derived from the its serial number.

control.deviceName();

This is an advanced API. For more information, see the micro:bit runtime messageBus documentation.