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 micro:bit runtime messageBus documentation.