jediempi / swap-led-scoreboard

Python script to swap between led boards (NHL/MLB) and possibly others if developed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swap-led-scoreboard

Python script to swap between led boards (NHL/MLB) and possibly others if developed.

This is pretty basic. You need the following:

All you should need to do is go into the python script, make sure things are set for the names of your supervisor processesfor your led-boards.

Specifically, the available settings are: boardnames - list of the names of your supervisor processes timetohold - number of seconds to hold the button until the Pi shuts down. buttonnumber - pin number your using for your button (using 3 will let you restart the Pi via a button press)

One issue - when you do the 'shutdown' hold, it will start executing the board flip routine first. Happy to incorporate a better way to do that, but my skills are...minimal.

About

Python script to swap between led boards (NHL/MLB) and possibly others if developed.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%