At the end of the day, it’s looking like my (original ish idea) will be the final solution.
Each analog pin will go to two LEDs
Each LED cathode will connect to two digital pins.
Since I don’t have twelve digital pins, this means there will be some duplication, which is fine. The code will, when choosing which LEDs to fire, only need to see if the analog pin is in use, twice the output is still under the max per pin. The digital pins will need to be kept under the maximum current.
No… I still have a logic issue going on. Maybe I just to look at being a little under max and just run twelve something bottles. Or I could try drawing it out again.
Each pin is used only twice. I could probably double that if I added an array for the digital pins. Limit them to two points up and I’ll be fine. Better yet, I could increase the chaos by limiting them to a total of two increasing… almost, I’d have to bias a bit if i randomize the timing. I should just go the twelve (really eleven for the aesthetics I think) and avoid the other issues. Being able to randomly choose one of eleven LEDs to slowly brighten and darken sounds nice. I should make certain bottles be mutually exclusive so that the timing can be randomized as well.