88
edits
Changes
From IGEP - ISEE Wiki
no edit summary
__TOC__
== Overview ==
This How-To is meant to be a starting point for people to learn use GPIOs for IGEP devices as quickly and easily as possible. For this How-To I used [http://labs.isee.biz/index.php/IGEP_firmware_Yocto IGEP firmware Yocto]
There are more ways to use GPIOs, but this one is very . This article show two simpleways to use gpios: bash commandline and C-code.
=== Feedback and Contributing ===At any point, if you see a mistake you can contribute to this How-To.Edit yourself !
== Requirements ==
For this How-to, I used:
* IGEPv2 Board
* Only for C-program example it also needed:
** Add shortcircuit cable between J990:20 and J990:22 pins. By default, GPIO 156 (J990:20) and GPIO 157 (J990:22) are available on these J990 pins.
Another boards tested:
*IGEP COM MODULE
*IGEP COM AQUILA
== C-program Example program ==
C-program Example program contains some libraries C-functions to control GPIOs, libraries . These also can do:
* Export and unexport GPIOs
* Set GPIO direction
echo 1 > value</pre>
=== Result ===
At first remote terminal you should read a message similar like this:
<pre>poll() GPIO 157 interrupt occurred </pre>