Files
Arduino-IRremote/examples/IRsendDemo/IRsendDemo.ino
Rafi Khan e308165190 working on renaming files
added test.sh
2017-04-23 00:03:54 -06:00

25 lines
420 B
C++

/*
* IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
* An IR LED must be connected to Arduino PWM pin 3.
* Version 0.1 July, 2009
* Copyright 2009 Ken Shirriff
* http://arcfn.com
*/
#include <InfraredRemote.h>
IRsend irsend;
void setup()
{
}
void loop() {
for (int i = 0; i < 3; i++) {
irsend.sendSony(0xa90, 12);
delay(40);
}
delay(5000); //5 second delay between each signal burst
}