pxt-calliope/docs/reference/radio/set-transmit-serial-number.md
2019-02-13 21:01:50 -08:00

732 B

set Transmit Serial Number

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

radio.setTransmitSerialNumber(true);

Parameters

  • transmit: a boolean that, when true, means that the board serial number is included in each transmitted packet. If false, the serial number value is set to 0.

Example

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

radio.setTransmitSerialNumber(true);

See also

received packet property, send number, send value, send string

radio