From 25424cb5d8659686b1d9ee2bbe9e6dcfbfe85040 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Wed, 12 Aug 2015 14:16:51 -0600 Subject: [PATCH] solves #195 --- examples/IRsendDemo/IRsendDemo.ino | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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); + } }