有没有人知道用手机控制Arduino Mega ADK的好介绍?我想做的就是使用一个非常基本的拨动开关应用控制引脚13上的LED.
编辑26/10/11:
http://labs.arduino.cc/ADK/Index
http://jeffreysambells.com/posts/2011/05/17/understanding-the-demokit-pde-arduino-sketch/
https://github.com/deadfalkon/HelloADK
现在我遇到了让我的Galaxy S2以配件模式连接的问题......
编辑27/10/11
http://sgccare.blogspot.com/2011/10/first-arduino-and-android-setup.html
我试图将特定元素递增1,以便在结果出现时记录结果.我正在尝试读取一个元素,向其添加1,然后将其写回到相同的内存地址.为什么这不简单?
在代码中,它将是一件简单的事情;
array1[element1] = (array1[element1]+1)
Run Code Online (Sandbox Code Playgroud)
要么
array1[element1]++
Run Code Online (Sandbox Code Playgroud)
数组似乎是读(指标)还是写(控制)?这真的令人沮丧,而且网上帮助很少.
我知道这里有类似的问题,但似乎都没有一个令人满意的答案.
我正在尝试发布一个应用程序,但无论我尝试什么,开发人员控制台都会报告支持的设备为零

这是我的完整清单;
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.blah.blahpro"
android:versionCode="6"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="17"/>
<supports-screens
android:anyDensity="true"
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true" />
<compatible-screens>
<!-- small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!--Only hdpi and xhdpi for normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" /> …Run Code Online (Sandbox Code Playgroud)