diff --git a/examples/IRsendDemo/IRsendDemo.ino b/examples/IRsendDemo/IRsendDemo.ino index fa1c56a..4f51a57 100644 --- a/examples/IRsendDemo/IRsendDemo.ino +++ b/examples/IRsendDemo/IRsendDemo.ino @@ -6,17 +6,18 @@ * http://arcfn.com */ + #include -int RECV_PIN = 11; -IRrecv irrecv (RECV_PIN); +IRsend irsend; void setup() { - Serial.begin(115200); } void loop() { - if (irrecv.isIdle()) - Serial.println("Idling"); + for (int i = 0; i < 3; i++) { + irsend.sendSony(0xa90, 12); + delay(40); + } }