Delete comment from: Ken Shirriff's blog
Hi,
I have this error:
int RECV_PIN = TKD2; // the pin the IR receiver is connected to
I new and I don't know how I can do. Only I install the library and write the code:
#include
int RECV_PIN = 2;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
}
Thanks for your great work!!!
Nov 21, 2014, 5:55:35 AM
Posted to A Multi-Protocol Infrared Remote Library for the Arduino

