Add switch on/off scripts for wittgenstein

This commit is contained in:
Stefan Haun 2024-11-01 19:58:06 +01:00
parent f9285f8451
commit 518455b7de
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/bash
gpio write 2 0
gpio write 3 0
gpio mode 2 tri
gpio mode 3 tri

11
files/wittgenstein/switch-on.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
# INT
gpio mode 0 tri
# Power
gpio mode 2 out
gpio mode 3 out
gpio write 2 1
gpio write 3 1