I’m a beginner of Arduino and Grove, but pls help me.
I’ve downloade the file from this link seeedstudio.com/wiki/File:IRSendRev.zip
I open the sample revTest.ino on the IDE (1.5). I see 4 tabs (revTest;IRSendRev.cpp;IRSendRev.h;IRSendRevInt.h)
When I try to compile the code O got this error (basically I get a IR not declared):
====================================
Arduino: 1.5.3 (Windows 7), Board: “Arduino Uno”
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=153 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard C:\Users\G.CRO\AppData\Local\Temp\build6778152398902082247.tmp\IRSendRev.cpp -o C:\Users\G.CRO\AppData\Local\Temp\build6778152398902082247.tmp\IRSendRev.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=153 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard C:\Users\G.CRO\AppData\Local\Temp\build6778152398902082247.tmp\revTest.cpp -o C:\Users\G.CRO\AppData\Local\Temp\build6778152398902082247.tmp\revTest.cpp.o
revTest.ino: In function ‘void setup()’:
revTest:12: error: ‘IR’ was not declared in this scope
revTest.ino: In function ‘void loop()’:
revTest:20: error: ‘IR’ was not declared in this scope
unfortunately I’m unable to understand wich is the correct definition missing.
Can someone help me?
Thanks
Guido