AlexShu

Send Example IR Code w/ IRemote

Apr 23rd, 2015
435
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <IRremote.h>
  2.  
  3. IRsend irsend;
  4.  
  5. unsigned int raw[344] = {8780, 4440, 540, 1680, 540, 1680, 580, 540, 580, 540, 540, 580, 540, 580, 540, 580, 560, 1660, 540, 580, 540, 1680, 540, 1680, 540, 580, 540, 580, 560, 560, 540, 580, 560, 560, 580, 540, 560, 560, 560, 1660, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, 560, 560, 540, 580, 540, 580, 540, 580, 540, 580, 540, 580, 540, 580, 540, 560, 560, 580, 540, 580, 540, 580, 540, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, 7800, 580, 1660, 560, 560, 560, 1660, 560, 540, 580, 1640, 580, 540, 580, 540, 580, 1660, 560, 1660, 560, 1660, 560, 560, 560, 560, 560, 1660, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, 540, 580, 560, 560, 540, 580, 540, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 580, 540, 580, 540, 560, 560, 560, 560, 540, 580, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, 540, 580, 540, 580, 560, 560, 560, 560, 540, 580, 540, 580, 540, 580, 540, 580, 540, 560, 560, 560, 560, 560, 560, 560, 1660, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1660, 560, 7820, 560, 560, 560, 560, 560, 560, 560, 560, 540, 560, 560, 560, 560, 560, 560, 560, 580, 1640, 580, 540, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, 580, 540, 580, 540, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, 540, 580, 540, 580, 540, 580, 540, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 580, 540, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1660, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 540, 580, };
  6.  
  7. void setup()
  8. {
  9.  // Send 1 time in setup
  10.  irsend.sendRaw(raw,344,38);
  11. }
  12.  
  13. void loop() {
  14.  
  15. }
RAW Paste Data