Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

231 bytes added, 13:10, 12 June 2015
no edit summary
At first remote terminal you should read a message similar like this:
<pre>poll() GPIO 157 interrupt occurred </pre>
 
=== How to chek an GPIO ===
 
The gpio-int-test.c program shows one way of using the sysfs file /sys/class/gpio/gpioXX/value to block program execution using poll() until the input level on GPIOXX changes.
 
[[File:GPIO_TEST.tar]]
0
edits