Translations of this page:
This is an old revision of the document!
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.
First we need to download the gpio-app from here http://ubuntuone.com/5VcumJ1O27WZaUamC4lpMV and decompress it. You can see there are two files in the gpio-app
Connect with Cubieboard by USB,then open terminal and input:
$ adb shell $ mount -o remount,rw /system $ exit $ adb push gpio-ctrl /system/bin
Download the app into Cubieboard:
$ adb install CB-GPIO-beta1.apk
Now we can control the GPIO by CB-GPIO, to do something interesting.
Note: We just use PD0~PD27 pins.