Doom1 --> tar -> xz -> b64 -> 1000110101
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
417 B

  1. #include <RCSwitch.h>
  2. RCSwitch mySwitch = RCSwitch();
  3. void setup() {
  4. Serial.begin(9600);
  5. mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2
  6. }
  7. void loop() {
  8. if (mySwitch.available()) {
  9. output(mySwitch.getReceivedValue(), mySwitch.getReceivedBitlength(), mySwitch.getReceivedDelay(), mySwitch.getReceivedRawdata(),mySwitch.getReceivedProtocol());
  10. mySwitch.resetAvailable();
  11. }
  12. }