88
edits
Changes
no edit summary
A detailed guide on how use GPIO-LEDS can be found by following this link: [[How to handle the gpio-LED]]
== Handle generic GPIO ==
See [[How_to_use_GPIOs|GPIOs HOWTO]] to know details about that.
Quick example could be:
<pre>echo 156 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio156/direction
echo 0 > /sys/class/gpio/gpio156/value</pre>
<pre>echo 157 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio157/direction
cat /sys/class/gpio/gpio157/value</pre>
== How to use UART1 (RS232) ==