I'm trying to rebuild an arcade game, the style where you direct water flow through a flow rate meter, in order to move a horse to a finish line, or inflate a balloon until it pops...
In this case, the game looks like the side of a building, with WS2801 LED pixel strips (an older version of them) laying out flames in red on the building side.
The idea is that as you direct the water through the flow meter, the LEDs will change from red to blue, moving from bottom to top.
I understand addressing the LEDs to change the color, I think, but I have no clue where to start when in comes to tying the color shift to the input from the flow rate meter, and using it to shift the color of the LED pixels.
I'm not looking for someone to do the work for me, I'd like to learn from this, but I'd appreciate it if someone could point me in the right direction.
Thanks for your time.