Quoted from Rdoyle1978:
Very very cool! Can both the door and the ramp code be programmed into the same Pinduino? Or is there only the single connection to the LEDs on the board ?
There are two LED outputs on the pinduino, so you can control two sets of lights. However, since the arduino is single threaded, it is very difficult to get two sets of lighting effects with different timings to run smoothly. The timing of the effects for the door and ramp are very different, so I have them running on separate pinduinos (which are stackable). For the ramp, the second LED port is used for the gumball machine, but the lighting effects for it are very simple. An example of how the effects are programmed is:
-Turn Gumball LEDs red
-Run a white to blue color sweep along the ramp LEDs
-Fade out ramp LEDs
Turn Gumball LEDs white
TLDR: I have them running on separate pinduinos, but the code could be modified with some work to get them running on one. However, the effects will be different that how I have them because they have coordinated.