mir3c/squashfs-root/sbin/format_led

16 lines
167 B
Bash
Executable File

#!/bin/sh
# turn off yellow and red
gpio 1 1
gpio 2 1
while true
do
# turn on yellow
/usr/bin/gpio 2 0
sleep 1
#trun off yellow
/usr/bin/gpio 2 1
sleep 1
done