disable leds after blink runs to present user feedback
This commit is contained in:
parent
54de337fcd
commit
43282ad9d6
@ -1195,10 +1195,6 @@ dtoverlay=dwc2
|
||||
dtparam=spi=on
|
||||
dtoverlay=spi1-3cs
|
||||
|
||||
# Powersave options
|
||||
# Disable power LED ~30ma
|
||||
dtparam=act_led_trigger=none
|
||||
dtparam=act_led_activelow=on
|
||||
# Disable bluetooth
|
||||
dtoverlay=pi3-disable-bt
|
||||
# Disable audio
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in `seq 1 $1`;
|
||||
for i in $(seq 1 "$1");
|
||||
do
|
||||
echo 0 >/sys/class/leds/led0/brightness
|
||||
sleep 0.3
|
||||
@ -10,3 +10,8 @@ done
|
||||
|
||||
echo 0 >/sys/class/leds/led0/brightness
|
||||
sleep 0.3
|
||||
|
||||
# Powersave options
|
||||
# Disable power LED ~30ma
|
||||
echo none >/sys/class/leds/led0/trigger
|
||||
echo 1 >/sys/class/leds/led0/brightness
|
||||
|
Loading…
x
Reference in New Issue
Block a user