1.0 KiB
1.0 KiB
Radio
Communicate data using radio packets
radio.sendNumber(0);
radio.sendValue("name", 0);
radio.sendString("");
radio.onReceivedNumber(function (receivedNumber) { });
radio.onReceivedValue(function (name, value) { });
radio.onReceivedString(function (receivedString) { });
radio.setGroup(0);
radio.setTransmitPower(7);
radio.setTransmitSerialNumber(false);
radio.writeReceivedPacketToSerial();
radio.sendBuffer(null);
radio
See Also
sendNumber, sendValue, sendString, sendBuffer, onReceivedNumber, onReceivedValue, onReceivedString, setGroup, setTransmitPower, setTransmitSerialNumber, writeReceivedPacketToSerial