Skip to content

Java class that manages the connection and the communication with the Arduino Mega ADK through the USB connection of an Android device.

Notifications You must be signed in to change notification settings

sngl/AndroidArduinoAdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:

The class ArduinoAdk manages all the stuff to create the connection with the usb accessory on your Android application. 
You only have to use ArduinoAdk.Connect() to open the accessory.
ArduinoAdk.write(int) to send a byte to the accessory. 

!!!ArduinoAdk.read() is implemented but not tested!!!

Other Function:

int available();
String getStatus();
boolean isConnected();


Usage:

Declare a private variable in your main Activity class and initialize the class in the onCreate function with:

mArduinoAdk = new ArduinoAdk(this);



Supported Android API: minimum version 12

About

Java class that manages the connection and the communication with the Arduino Mega ADK through the USB connection of an Android device.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages