2016-07-21 01:25:09 +02:00
|
|
|
# Device Name
|
2016-07-20 20:31:14 +02:00
|
|
|
|
2016-07-21 01:25:09 +02:00
|
|
|
Gets a friendly name for the device derived from the its serial number.
|
2016-07-20 20:31:14 +02:00
|
|
|
|
|
|
|
```sig
|
2016-07-21 22:29:59 +02:00
|
|
|
control.deviceName();
|
2016-07-20 20:31:14 +02:00
|
|
|
```
|
|
|
|
|
2016-07-21 22:29:59 +02:00
|
|
|
**This is an advanced API.** For more information, see the
|
|
|
|
[micro:bit runtime messageBus documentation](https://lancaster-university.github.io/microbit-docs/ubit/messageBus/).
|
2016-07-20 20:31:14 +02:00
|
|
|
|