update
This commit is contained in:
@@ -15,19 +15,8 @@ echo "NebuleAir pro started at $(date)"
|
|||||||
|
|
||||||
chmod -R 777 /var/www/nebuleair_pro_4g/
|
chmod -R 777 /var/www/nebuleair_pro_4g/
|
||||||
|
|
||||||
# Blink GPIO 23 and 24 five times
|
# Blink GPIO 23 and 24 five times (starts OFF, stays OFF at end)
|
||||||
for i in {1..5}; do
|
gpioset -c gpiochip0 -t 1s,1s,1s,1s,1s,1s,1s,1s,1s,1s,0 23=0 24=0
|
||||||
# Turn GPIO 23 and 24 ON
|
|
||||||
gpioset gpiochip0 23=1
|
|
||||||
gpioset gpiochip0 24=1 #echo "LEDs ON"
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
# Turn GPIO 23 and 24 OFF
|
|
||||||
gpioset gpiochip0 23=0
|
|
||||||
gpioset gpiochip0 24=0
|
|
||||||
#echo "LEDs OFF"
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "getting RPI serial number"
|
echo "getting RPI serial number"
|
||||||
# Get the last 8 characters of the serial number and write to text file
|
# Get the last 8 characters of the serial number and write to text file
|
||||||
|
|||||||
Reference in New Issue
Block a user