Bye the way I'm loving the Bittle, this second project by Rongzhong Li is AWESOME!
I have successfully uploaded WriteInstinct and followed the instructions.
However when I try to verify/compile OpenCat.ino it gives me exit status 1
Error compiling for board Arduino/Genuino Uno.
I have edited the Documents/Arduino/libraries/IRremote/src/IRremote.h file as per instructions, did I make a mistake?
Any help is greatly appreciated!
Here are the error messages:-
In file included from C:\BITTLE\OpenCat\OpenCat.ino:75:0: C:\Users\Chris\Documents\Arduino\libraries\IRremote\src/IRremote.h:58:31: error: missing binary operator before token "#" #define DECODE_JVC 0#define SEND_JVC 0 ^ C:\Users\Chris\Documents\Arduino\libraries\IRremote\src/IRremote.h:275:5: note: in expansion of macro 'DECODE_JVC' #if DECODE_JVC ^~~~~~~~~~ C:\Users\Chris\Documents\Arduino\libraries\IRremote\src/IRremote.h:74:31: error: missing binary operator before token "#" #define DECODE_MITSUBISHI 0#define SEND_MITSUBISHI 0 // NOT WRITTEN ^ C:\Users\Chris\Documents\Arduino\libraries\IRremote\src/IRremote.h:299:5: note: in expansion of macro 'DECODE_MITSUBISHI' #if DECODE_MITSUBISHI ^~~~~~~~~~~~~~~~~ C:\Users\Chris\Documents\Arduino\libraries\IRremote\src/IRremote.h:77:31: error: missing binary operator before token "#" #define SEND_DISH 0#define DECODE_SHARP 0 ^ C:\Users\Chris\Documents\Arduino\libraries\IRremote\src/IRremote.h:405:5: note: in expansion of macro 'SEND_DISH' #if SEND_DISH ^~~~~~~~~ Multiple libraries were found for "IRremote.h" Used: C:\Users\Chris\Documents\Arduino\libraries\IRremote Not used: C:\Users\Chris\Documents\Arduino\libraries\arduino_383131 exit status 1 Error compiling for board Arduino Uno. Kind Regards
I have tried again this time very carefully editing IRremote.h so that I only change the 1's to zeros. It worked! OpenCat now uploading.
You may have deleted some characters when editing IRremote.h.