Initial pi-configs from running system

This commit is contained in:
Jeroen Stroeve 2024-08-21 14:16:04 +02:00
parent 595dd8a30e
commit 5727a9aa71
5 changed files with 300 additions and 2 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
cd /sys/class/gpio/
echo 6 > export
echo out > gpio6/direction
echo 0 > gpio6/value
echo 1 > gpio6/value
echo 6 > unexport