apkovl-cli/cmd/templates/scripts/pintimer.sh
Lukas Bachschwell e01be1ed58
🎉 Initial commit, all commands basically working
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2022-01-02 11:53:45 +01:00

12 lines
205 B
Bash

#!/bin/ash
echo 22 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio22/direction
echo 1 > /sys/class/gpio/gpio22/value
#while :
#do
# echo "Press [CTRL+C] to stop.."
# sleep 1
#done