I am working on a project linking a Blinkt! LED board to functionality in RetroPie. The basic idea being that launching a game in each individual system, will change the color that Blinkt! displays. I have gotten 2 systems to work so far, but the rest for some reason will turn off the LED's that were on before it, but not light their assigned color. the Python scripts are identical to each other, expect for the color values and will all work when i execute them manually. Here is what i have so far.
Code: Select all
#!/bin/bash # get system from parameters system=$1 # run special python script for each system case "$system" in nes) python /path/to/nes.py ;; snes) python /path/to/snes.py ;; sega) python /path/to/sega.py ;; n64) python /path/to/n64.py ;; *) python /path/to/reset.py ;; esac
Would anyone have any ideas what i could be missing?