Go Down

Topic: Arduino adk 1.0-rc1 (Read 724 times) previous topic - next topic

veenutanwar

download anruino adk 1.0-rc1 with arduino_bundle_ADK start the programm choose from tutorial ADK usb digitalRead verify the programm * TADA!
{
In file included from _01_digitalRead_adk.cpp:13:
E:\arduino\arduino-1.0-rc1\libraries\AndroidAccessory/AndroidAccessory.h:71: error: conflicting return type specified for 'virtual void AndroidAccessory::write(uint8_t)'
E:\arduino\arduino-1.0-rc1\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'
}
and get this

Why

Razorblade

Because AndroidAccessory (arduino_bundle_ADK) is not updated for Arduino 1.0 RC1, due to this recent change:
write(), print(), and println() now return size_t (unsigned int) instead of void: number of bytes written.

They will have to update AndroidAccessory library.
Arduino Uno (R2fix) / Duemilanove (328p)
Ethernet Shield SD (v5)

Go Up