Перейти к содержанию

Навигация

Работа с GPIO/en: различия между версиями

Нет описания правки
Строка 55: Строка 55:


<pre>
<pre>
echo in > /sys/class/gpio/gpioN/direction #set the GPIO to input
echo in > /sys/class/gpio/gpioN/direction #set the GPIO N to input
echo out > /sys/class/gpio/gpioN/direction # set the GPIO to output  
echo out > /sys/class/gpio/gpioN/direction # set the GPIO N to output  
</pre>
</pre>


12 063

правки