Hello,
I have been trying to use an IR remote i have with my arduino but i have run into a problem. I am trying to use the IRremote library to figure out what my remote is sending to the arduino. After putting the IRremote file into my libraries folder, i include the library but then an error comes up when i try to verify. It says
C:\Program Files (x86)\arduino-1.0.3\libraries\IRremote\IRremote.cpp:271: error: 'volatile struct irparams_t' has no member named 'rawlen'
and basically that over and over but with different file names. Did i mess up somehow?
/ example 32.1 - IR receiver code repeater
// http://tronixstuff.com/tutorials > chapter 32
// based on code by Ken Shirriff - http://arcfn.com
#include <IRremote.h> // use the library
int receiver = 11; // pin 1 of IR receiver to Arduino digital pin 11
IRrecv irrecv(receiver); // create instance of 'irrecv'
decode_results results;
void setup()
{
Serial.begin(9600); // for serial monitor output
irrecv.enableIRIn(); // Start the receiver
}
void loop()
{
if (irrecv.decode(&results)) // have we received an IR signal?
{
Serial.println(results.value, HEX); // display it on serial monitor in hexadecimal
irrecv.resume(); // receive the next value
} // Your loop can do other things while waiting for an IR command
}
I did restart my IDE but it still does not work.
If user downloaded libraries don't go into the core library folder, then where does it go?