Guest User

RCSwitch.SimpleSend

a guest
Mar 27th, 2014
136
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <RCSwitch.h>
  2.  
  3.  
  4. RCSwitch mySwitch = RCSwitch();
  5.  
  6. void setup() {
  7.   mySwitch.enableTransmit(3);  // Using Pin #3
  8. }
  9.  
  10. void loop() {
  11.   mySwitch.send("000000000001010100010001");
  12.   delay(1000);  
  13. }
RAW Paste Data