From 0b0719045e2aba30f3dda12af0c8ded19f868a22 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sat, 11 Jul 2015 15:22:18 -0600 Subject: [PATCH] Added pin variable in IRrecvDumpV2 --- examples/IRrecvDumpV2/IRrecvDumpV2.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/IRrecvDumpV2/IRrecvDumpV2.ino b/examples/IRrecvDumpV2/IRrecvDumpV2.ino index a2add9f..6dfa810 100644 --- a/examples/IRrecvDumpV2/IRrecvDumpV2.ino +++ b/examples/IRrecvDumpV2/IRrecvDumpV2.ino @@ -6,7 +6,8 @@ //------------------------------------------------------------------------------ // Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838) // -IRrecv irrecv(6); +int recvPin = 6; +IRrecv irrecv(recvPin); //+============================================================================= // Configure the Arduino