Pages: [1]   Go Down
Author Topic: AndroidAccessory Library on the Due  (Read 727 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently bricked my Mega ADK and replaced it with a Due.

Problem is that the outdated AndroidAccessory library i was using doesn't seem to be compatible with the Due.

So I downloaded the new libraries from this page: http://labs.arduino.cc/ADK/AccessoryMode

However the AndroidAccessory.h here not longer has the functions I was using, particularly AndroidAccessory.read(), AndroidAccessory.write(), and AndroidAccessory.powerOn();

What are the equivalent functions in this updated library?

Is this library fully (or mostly) compatible with the Due?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In arduino 1.5.2, there is an example that uses the library adk.h. This example demonstrates the communication between Android and Arduino using accessory mode.

The example is located in \\arduino-1.5.2\hardware\arduino\sam\libraries\USBHost\examples\ADKTerminalTest\ADKTerminalTest.ino

cmassicot
Logged

Pages: [1]   Go Up
Jump to: