Delete comment from: Ken Shirriff's blog
hello help me pls i use this code:
#include
int RECV_PIN = 11;
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
}
}
and have this:
C:\Users\goga\Documents\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope
int RECV_PIN = TKD2; // the pin the IR receiver is connected to
^
Multiple libraries were found for "IRremote.h"
Used: C:\Users\goga\Documents\Arduino\libraries\RobotIRremote
Not used: C:\Users\goga\Documents\Arduino\libraries\Arduino-IRremote-master
Not used: C:\arduino-nightly\libraries\Arduino-IRremote-master
Not used: C:\arduino-nightly\libraries\RobotIRremote
Ошибка компиляции.
how to fix it??
May 24, 2015, 6:47:35 AM
Posted to A Multi-Protocol Infrared Remote Library for the Arduino

