Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

39 bytes removed, 16:26, 9 January 2012
no edit summary
=== Install dynamic library ===
Go to:$/svn.hylands.org/linux/gpio/lib/. libgpio.so will be found is here.
If a program is link linked with dinamic dynamic libraries, Linux kernel find this ones Kernel seek in a specific paths when program is executed. Now is necessary link the libgpio.so path to the envireonment environment variable LD_LIBRARY_PATH, use the following commnadcommand:<br>
<pre>export LD_LIBRARY_PATH=/root/svn.hylands.org/linux/gpio/lib/
</pre>
Check that libgpio.so is linked correctly. Go to:$/svn.hylands.org/linux/gpio/app, gpio program will be found is here. Type next command:
<pre>ldd gpio
</pre>
4,199
edits