Advertisement
Guest User

RCSwitch.SimpleSend

a guest
Mar 27th, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement