|Robby Zambito fafc2c87b1||1 year ago|
|.gitignore||1 year ago|
|README.md||1 year ago|
|main.go||1 year ago|
|models.go||1 year ago|
|patterns.go||1 year ago|
|start.sh||1 year ago|
This program is designed to run on a Raspberry Pi to control an RGB light strip.
The program takes input as a JSON string from standard input, and updates the state of the lights based on the object which was last received. Each pattern exists as a Goroutine, which is continuously outputting its updated state to a buffered channel. There is a main Goroutine which consumes the data from whichever channel passes the state for the currently selected pattern.