Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
project:dvere [2016/06/01 15:56] over23 |
project:dvere [2016/06/07 21:00] (current) peterbay added gpio over command line |
||
---|---|---|---|
Line 20: | Line 20: | ||
==== Logika ==== | ==== Logika ==== | ||
[[projects:node_red|[2] Software Part : Node-red]]] | [[projects:node_red|[2] Software Part : Node-red]]] | ||
+ | |||
+ | ==== Raspberry Pi GPIO over command line ==== | ||
+ | <code> | ||
+ | sudo su | ||
+ | echo 8 > /sys/class/gpio/export | ||
+ | echo out > /sys/class/gpio/gpio8/direction | ||
+ | echo 1 > /sys/class/gpio/gpio8/value | ||
+ | </code> | ||
===== Zámky ===== | ===== Zámky ===== |