Pages: [1]   Go Down
Author Topic: Arduino adk 1.0-rc1  (Read 704 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Offline Offline
Full Member
Karma: 0
Posts: 149
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)

Pages: [1]   Go Up
Jump to: