pxt-calliope/docs/reference/control/device-name.md

294 B

Device Name

Make a friendly name for the device based on its serial number.

control.deviceName();

This is an advanced API. For more information, see the @boardname@ runtime messageBus documentation.