pcDuino supports both linux and Android. Under Android, we can also talk to the hardware interface pins. In this post, we show how to control the GPIO pins by blinking a LED on pcDuino with the Linker LED module.
First, we need to launch terminal emulator by double clicking the terminal emulator icon below.
For the first time, run these commands from terminal APK to make the samples executable:
$su # busybox mount/system -o rw,remount # busybox chmod +x /home/android/sample/test/*
Now, let’s blink on a linker led module that is hooked up to GPIO 2 of pcDuino.
The command line looks as below:
After we pressed ‘ENTER’, the LED will begin to blink: