pxt-calliope/docs/reference/control/device-name.md
2016-11-01 17:44:37 -07:00

302 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 @boardname@ runtime messageBus documentation.