This program is intended to be used on the Raspberry Pi with a ws281x LED strip to be used as a status light for a computer program.
It works by reading from its JSON file and then setting the lights on the LED strip to the values in the JSON file. To link a program to the status lights just have it change the value in the JSON file that matches up with its LED on the strip.
Libraries Used:
- rpi_ws281x: For interacting with ws281x led lights on Raspberry Pi with GPIO pins.
- time: For adding delay.
- json: For interaction with JSON files.
This code is open source and can be used by anyone.