Skip to content

Commit

Permalink
Create leds.sh
Browse files Browse the repository at this point in the history
Bash script to execute LEDs python script which will instantly restart the program should it end for whatever reason.
  • Loading branch information
ibanezmatt13 committed Aug 22, 2013
1 parent 8ee9248 commit a19e149
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions leds.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

while [ 1 ]; do # do forever
{
/home/pi/leds.py
sleep 1 # delay for one second
}

done

0 comments on commit a19e149

Please sign in to comment.