Browse Source

Ajout du script clignotement LED VERTE actif

master
heuzef 5 years ago
parent
commit
3f42223bad
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      scripts/blink_green.sh

+ 14
- 0
scripts/blink_green.sh View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Allo-GG
# Blink LED VERTE

for i in {1..10}
do
sleep 1
# ON
/usr/local/bin/gpio -g write 18 0

sleep 1
# OFF
/usr/local/bin/gpio -g write 18 1
done

Loading…
Cancel
Save