This shows you the differences between two versions of the page.
tutorials:common:gpio_on_android [2013/10/04 22:48] george |
tutorials:common:gpio_on_android [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to use Cubieboard-GPIO On Android====== | ====== How to use Cubieboard-GPIO On Android====== | ||
- | We use gpio-contrl code and some library files to compile an executable file named gpio-ctrl. So we can control the GPIO pin by Android app. | + | We use gpio-contrl code and some library files to compile an executable file named gpio-ctrl so that we can control the GPIO pin by Android app. |
- | At first we should download gpio-app from here [[http://ubuntuone.com/5VcumJ1O27WZaUamC4lpMV]] and decompress it. You can see there are two files in the gpio-app | + | First we need to download the gpio-app from here [[http://ubuntuone.com/5VcumJ1O27WZaUamC4lpMV]] and decompress it. There are two files in the gpio-app directory. |
- | Connect with Cubieboard by USB,then open terminal and input: | + | Connect the Cubieboard by USB and then open a terminal and type: |
$ adb shell | $ adb shell |