pxt-microbit
Version:
micro:bit target for Microsoft MakeCode (PXT)
12 lines (7 loc) • 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/).