Skip to content

Commit

Permalink
jig: led-interface: show pattern at startup
Browse files Browse the repository at this point in the history
This tests the LEDs, and shows the version of the test.

Signed-off-by: Sean Cross <sean@xobs.io>
  • Loading branch information
xobs committed Sep 16, 2019
1 parent c016329 commit 983efed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions jig/bin/led-interface.sh
Expand Up @@ -65,6 +65,18 @@ gpio_setup() {
gpio -g mode ${led_3} out
gpio -g mode ${led_4} out
gpio -g mode ${led_5} out
for i in $(seq 1 5)
do
all_off
led_on $i
sleep .2
done

all_off
led_on 1
led_on 2
sleep 1

all_off
led_on 5
}
Expand Down

0 comments on commit 983efed

Please sign in to comment.