<SOLVED!> Retropie with C4 labs galaxy LED case mod.
-
Hi again everyone!
So long story short I bought this. https://c4labs.net/products/galaxy-led-circuit-board-upgrade-for-the-zebra-case-by-c4labs
I am still waiting on contact back from them as it has no instructions for the programming of the led's. My goal is to have these move in a pattern and alternate color when a game loads, and during boot. If its only possible to stay on that's fine.
Can anyone point me in the right direction to even begin? I figured this just plugged in and turned on, I was hoping somebody else might be experienced with this.
-
Found it. https://github.com/theC4Labs/ZebraGalaxy
-
Thanks for sharing the find.
-
That's pretty neat. These are similar: https://shop.pimoroni.com/products/blinkt
-
Thanks I might try to do something with those too. Now I have a new minor issue.
This is done by executing a python script, which works fine but to set it up in /etc/r.local does not work until you exit emulation station, then it automatically starts itself.
How could I get this to initiate during boot before emulation station starts?
-
You could put its call into
/opt/retropie/configs/all/autostart.sh
before emulationstation. -
@clyde Thank you! That worked perfectly. I added "sudo python /home/pi/caseled/galaxy.py &" in before emulationstation and it boots up like a charm pre loaded with the settings I edited the script for the LED's.
Thank you again this community has been excellent with helping me learn.
-
Also make sure you follow the directions I had overlooked. Make sure SPI is enabled under raspi-config. And Adafruit installation is possibly needed depending on your set up.
-
In theory depending on the chips if they comnect over gpio it's probably possible to eliminate adafruit dependencies and use something like the GPIOzero library, that's probably what I'll do with the blink lights if ever get them.
I did something similar with the pi3d Christmas tree but just depends on how ambitious you're feeling
-
@nowun said in <SOLVED!> Retropie with C4 labs galaxy LED case mod.:
@clyde Thank you! That worked perfectly. I added "sudo python /home/pi/caseled/galaxy.py &" in before emulationstation and it boots up like a charm pre loaded with the settings I edited the script for the LED's.
If the script doesn't need administrative rights, you can omit the
sudo
before the command. It adds a tiny yet easily done bit of security to your system.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.