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

12 lines
300 B
Markdown

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