Difference between revisions of "What can I do with IGEP COM PROTON"

From IGEP - ISEE Wiki

Jump to: navigation, search
m
m (Handle the gpio-LED's)
Line 20: Line 20:
 
You must logged in the board.
 
You must logged in the board.
 
== Handle the gpio-LED's ==
 
== Handle the gpio-LED's ==
{{#lst:How to handle the gpio-LED|IGEP_COM_PROTON}}
+
The board has three leds available that can be controlled. In its simplest form, you can control of LEDs from
 +
userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands:
  
''From [[How to handle the gpio-LED]]''
+
<pre>echo 1 > /sys/devices/platform/leds-gpio/leds/d242\:green/brightness
{{Template:Navigation/IGEP Technology Guides/What can I do/Ending}}
+
echo 1 > /sys/devices/platform/leds-gpio/leds/d441\:green/brightness
 +
echo 1 > /sys/devices/platform/leds-gpio/leds/d442\:green/brightness</pre>
 +
 
 +
A detailed guide on how use GPIO-LEDS can be found by following this link: [[How to handle the gpio-LED]]
  
 
[[Category:IGEP Technology Devices Guides]]
 
[[Category:IGEP Technology Devices Guides]]

Revision as of 17:13, 10 September 2012


Overview

This is the 2/3 chapter of IGEP COM PROTON Tutorial Guide.

We will learn some basic tasks.

What can I do

You must logged in the board.

Handle the gpio-LED's

The board has three leds available that can be controlled. In its simplest form, you can control of LEDs from userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands:

echo 1 > /sys/devices/platform/leds-gpio/leds/d242\:green/brightness
echo 1 > /sys/devices/platform/leds-gpio/leds/d441\:green/brightness
echo 1 > /sys/devices/platform/leds-gpio/leds/d442\:green/brightness

A detailed guide on how use GPIO-LEDS can be found by following this link: How to handle the gpio-LED