pxt-calliope/docs/reference/radio/set-transmit-serial-number.md
Sam El-Husseini e3975e65e5 pxt-microbit Accessibility PR (#529)
* Accessibility changes
2017-09-07 13:42:08 -07:00

663 B

Set Transmit Serial Number

Make the radio packet embed the board serial number with each packet of data.

radio.setTransmitSerialNumber(true);

Parameters

  • transmit is a boolean that represents whether the serial number needs to be transmitted.

Example

This program makes the radio send the serial number in each packet.

radio.setTransmitSerialNumber(true);

See also

on data packet received, send number, send value, send string

radio