Recreados todos los scripts

This commit is contained in:
root
2026-01-27 21:33:04 +01:00
parent 6a20265d6b
commit 5799a17507
13 changed files with 71 additions and 196 deletions

11
blink_led.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
source /opt/raspberry_scripts/led_config.conf
trap "gpioset $CHIP $LINE=1; exit" SIGINT SIGTERM
while true; do
gpioset $CHIP $LINE=1
sleep 0.5
gpioset $CHIP $LINE=0
sleep 0.5
done