RaspberryFrog: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:Host == Pakete == <pre>apt-get install htop locate </pre>“) |
|||
Zeile 4: | Zeile 4: | ||
<pre>apt-get install htop locate | <pre>apt-get install htop locate | ||
</pre> | </pre> | ||
== Rasbian == | |||
<pre>raspi-config | |||
</pre> | |||
== GPIO (shell) == | |||
<pre>echo "17" > /sys/class/gpio/export | |||
echo "out" > /sys/class/gpio/gpio17/direction | |||
echo "1" > /sys/class/gpio/gpio17/value | |||
while true ; do | |||
echo "1" > /sys/class/gpio/gpio17/value; sleep 1 | |||
echo "0" > /sys/class/gpio/gpio17/value; sleep 1 | |||
done | |||
echo "17" > /sys/class/gpio/unexport |
Aktuelle Version vom 16. Mai 2016, 08:26 Uhr
Pakete[Bearbeiten]
apt-get install htop locate
Rasbian[Bearbeiten]
raspi-config
GPIO (shell)[Bearbeiten]
echo "17" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio17/direction echo "1" > /sys/class/gpio/gpio17/value while true ; do echo "1" > /sys/class/gpio/gpio17/value; sleep 1 echo "0" > /sys/class/gpio/gpio17/value; sleep 1 done echo "17" > /sys/class/gpio/unexport