pxt-calliope/docs/reference/radio.md
Peli de Halleux 845d7a004c updated docs
2016-05-16 22:18:58 -07:00

384 B

Radio

Communicate data using radio packets

radio.sendNumber(0);
radio.sendValue("data", 0);
radio.sendString("");
radio.onDataReceived(() => {
    
});
radio.receiveNumber();
radio.receivedNumberAt(0);
radio.receiveString();
radio.receivedSignalStrength();
radio.setGroup(0);
radio.setTransmitPower(0);
radio.writeValueToSerial();
radio.setTransmitSerialNumber(◊);