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.

25 line
414B

  1. /*
  2. * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
  3. * An IR LED must be connected to Arduino PWM pin 3.
  4. * Version 0.1 July, 2009
  5. * Copyright 2009 Ken Shirriff
  6. * http://arcfn.com
  7. */
  8. #include <IRremote.h>
  9. IRsend irsend;
  10. void setup()
  11. {
  12. }
  13. void loop() {
  14. for (int i = 0; i < 3; i++) {
  15. irsend.sendSony(0xa90, 12);
  16. delay(40);
  17. }
  18. delay(5000); //5 second delay between each signal burst
  19. }