pxt-calliope/docs/reference/radio.md
2016-10-24 16:30:21 -07:00

746 B

Radio

Communicate data using radio packets

radio.sendNumber(0);
radio.sendValue("data", 0);
radio.sendString("");
radio.onDataPacketReceived(() => {

});
radio.setGroup(0);
radio.setTransmitPower(7);
radio.setTransmitSerialNumber(false);
radio.writeValueToSerial();
radio

See Also

sendNumber, sendValue, sendString, onDataPacketReceived, setGroup, setTransmitPower, setTransmitSerialNumber, writeValueToSerial