Trying to put together a quick demo of an accelerometer with mBuino, and when I try to compile the example with USBSerial for debugging, I get the following exception:
“Error: Expected an identifier in “USBDevice/USBDevice/USBDevice_Types.h”, Line: 75, Col: 43”
which is weird, because I’ve used the USBDevice library for serial debugging in other projects with no problem at all, and I verified that the code for USBDevice_Types.h is identical from the program where it works to the one I’m testing now.
The main difference between the 2 programs is that the one I’m using now also includes a library for using the MMA7745L accelerometer via I2C.
Is it possible that the accelerometer library is clobbering something in the USBDevice library and causing this error? I’m not sure where to begin troubleshooting this.