07a578831c
* support for buffer packet type * updated description * updated signature * added note on json encoding * adding sendNumbers * cleanup * removing 'sendnumbers'
859 B
859 B
Radio
Communicate data using radio packets
radio.sendNumber(0);
radio.sendValue("name", 0);
radio.sendString("");
radio.onDataPacketReceived(({ receivedNumber }) => {
});
radio.setGroup(0);
radio.setTransmitPower(7);
radio.setTransmitSerialNumber(false);
radio.writeReceivedPacketToSerial();
radio.sendBuffer(null);
radio
See Also
sendNumber, sendValue, sendString, sendBuffer, onDataPacketReceived, setGroup, setTransmitPower, setTransmitSerialNumber, writeReceivedPacketToSerial