Hello,
I'm setting up the Processing for Android environment with my Arduino Mega ADK board. I'm following the instructions here:
http://stream.tellart.com/controlling-arduino-with-android/ . When I try to compile the RGB example at the bottom I get an Error Compiling and the following message:
In file included from RGB_arduino.cpp:6:
C:\Users\Robert Booth\Documents\arduino-1.0\libraries\AndroidAccessory/AndroidAccessory.h:71: error: conflicting return type specified for 'virtual void AndroidAccessory::write(uint8_t)'
C:\Users\Robert Booth\Documents\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t) '
C:\Users\Robert Booth\Documents\arduino-1.0\libraries\AndroidAccessory/AndroidAccessory.h:71: error: conflicting return type specified for 'virtual void AndroidAccessory::write(uint8_t)'
C:\Users\Robert Booth\Documents\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t) '
I can see there is something conflicting but don't understand what or how to fix it. Is someone able to point out where I'm going wrong with this? It would be very much appreciated!
Justin
1