Hey guys, I'm rocking the 1.6.6 IDE, and am getting this error with a basic script that I wrote. The point of it was to collect the HEX values emitted by an IR remote. I was going to use that data later to control a bot. The code is as follows:
#include <IRremote.h>
#include <IRremoteInt.h>
#include <IRremoteTools.h>
int RECV_Pin = 6;
IRrecv irrecv(RECV_Pin);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn();// Starts the reciever
}
void loop()
{
if (irrecv.decode(&results))
{
Serial.println(results.value, HEX);
irrecv.resume(); //Recvieve the next value
}
}
...what... What do you mean do I have an arduino robot? I have an arduino uno, wired via bread board, to an IR sensor. That said, the IDE wont compile and is saying that the imported libraries are the problem... The problem is, they're stock libraries and I'm running a Mac so I can't relocate them...
Well it started off I was just yelling at the computer... Then a few rocks were thrown... Now it's tied to a tree with a mound of coding books underneath to be burned as a sacrafice to the coding gods... ALL HAIL THE GREAT C++!!!!!
Hey guys, I'm rocking the 1.6.6 IDE, and am getting this error with a basic script that I wrote.
So, anyhow, getting back to the original question, your are getting "this error" when you try to compile your apparently straightforward sketch.
Getting "which" error ? I don't know if "this error" refers to some error you are pointing at, but didn't include in your post, or if "I'm getting this error" is some sort of retro-hipster idiom.
michinyon, the error is stated in the title.... the compiler keeps spiting out, "'TKD2' Not Declared in Scope." Which as I said, I assume is a library problem.... but I don't know how to fix it.