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

12 lines
294 B
Markdown

# Device Name
Make a friendly name for the device based on its serial number.
```sig
control.deviceName();
```
**This is an advanced API.** For more information, see the
[@boardname@ runtime messageBus documentation](https://lancaster-university.github.io/microbit-docs/ubit/messageBus/).