4 https://github.com/sui77/rc-switch/
6 If you want to visualize a telegram copy the raw data and
7 paste it into http://test.sui.li/oszi/
12 RCSwitch mySwitch = RCSwitch();
16 mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2
20 if (mySwitch.available()) {
21 output(mySwitch.getReceivedValue(), mySwitch.getReceivedBitlength(), mySwitch.getReceivedDelay(), mySwitch.getReceivedRawdata(),mySwitch.getReceivedProtocol());
22 mySwitch.resetAvailable();