Zugangskontrolle

Aus Nerdberg
Wechseln zu:Navigation, Suche
root@door:/home/pi# echo 17 >/sys/class/gpio/export
root@door:/home/pi# echo 10 >/sys/class/gpio/export
root@door:/home/pi# echo out >/sys/class/gpio/gpio17/direction
root@door:/home/pi# echo out >/sys/class/gpio/gpio10/direction


root@door:/home/pi# open_door
Opening door.. complete!
root@door:/home/pi# close_door
Closing door.. complete!