Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP BERLIN

813 bytes added, 13:51, 27 January 2015
no edit summary
Under his responsibility can desolder for more accurate readings.
== How to operate USER LED's ==
On BASE0010 the two leds are available via gpio 19 and 22. See the example below:
 
=== For D103 LED USER1(GPIO22): ===
 
We publish the virtual file system to configure elements of the chip via the Linux kernel
mount -t debugfs none /sys/kernel/debug/omap_mux
Set the pin as function gpio22
echo 0x104 > /sys/kernel/debug/omap_mux/etk_d8
Do gpio22 accessible
echo 22 > /sys/class/gpio/export
Configure the pin as output
echo out > /sys/class/gpio/gpio22/direction
 
LED ON: echo 1 > /sys/class/gpio/gpio22/value
LED OFF:echo 0 > /sys/class/gpio/gpio22/value
 
=== For D103 LED USER2 (GPIO19): ===
 
echo 19 > /sys/class/gpio/export
echo out>/sys/class/gpio/gpio19/direction
 
LED ON: echo 1 > /sys/class/gpio/gpio19/value
LED OFF:echo 0 > /sys/class/gpio/gpio19/value
0
edits