User Tools

Site Tools


tutorials:common:gpio_on_android

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:common:gpio_on_android [2013/10/04 22:46]
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 complie ​an executable file named gpio-ctrl.So we can contrl ​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 terminal and type:
  
   $ adb shell   $ adb shell
Line 16: Line 16:
   $ adb install CB-GPIO-beta1.apk   $ adb install CB-GPIO-beta1.apk
   ​   ​
-After all,we can contrl ​GPIO by CB-GPIO,to do something interesting.+Now we can control the GPIO by CB-GPIO, to do something interesting.
   ​   ​
 Note: We just use PD0~PD27 pins. Note: We just use PD0~PD27 pins.
tutorials/common/gpio_on_android.1380898000.txt.gz · Last modified: 2013/12/23 14:50 (external edit)