We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
UsbAct beta icon

UsbAct beta

1.1 for Android

The description of UsbAct beta

Arduino mega 用のテストアプリです。

以下のコードをArduino megaに書き込み、Phone(Android os)とArduino megaをUSBで繋いだ際に使用します。

機能
Arduinoの13番にLEDランプを繋げ、アプリのボタンを押すと、LEDランプが点灯します。

-------------------------------------------


#include <Max3421e.h>
#include <Usb.h>
#include <AndroidAccessory.h>

AndroidAccessory acc("saibakho",
"UsbAct",
"UsbAct Arduino Board",
"1.0",
"https://play.google.com/store/apps/details?id=usb.act",
"0000000012345678");
int led = 13;

void setup()
{
Serial.begin(115200);
acc.powerOn();
pinMode(led, OUTPUT);
}

void loop()
{
byte receiveM[1];
if (acc.isConnected()) {
int len = acc.read(receiveM, sizeof(receiveM), 1);
if(len > 0&&receiveM[0]=='a'){
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}
}
delay(10);
}



-------------------------------------------
Show More

UsbAct beta 1.1 Update

2016-05-02
2014/04/18:beta

UsbAct beta Tags

Add Tags

By adding tag words that describe for Games&Apps, you're helping to make these Games and Apps be more discoverable by other APKPure users.

Additional Information

Advertisement
Previous versions
  • V1.1 249.8 KB APK

    UsbAct beta

    2016-05-02

    UsbAct beta 1.1 (20140418)

    Update on: 2016-05-02

    Requires Android: Android 2.2+ (Froyo, API 8)

    Signature: 1242fce38983d5ccc7c173ae52d68275f3eecf52 UsbAct beta 1.1(20140418) safe verified

    File SHA1: 62c3ecdbc7f5db58034eb1afe624224a50bd65ae

    File Size: 249.8 KB

    What's new:

    Download

Comment Loading...
Ooops! No such content!
Recommended
Download
APKPure App