What resistors do I need for my complex LED cube?
So I'm working on building a LED cube. But just to be completely different I'm going with a complex design. Overall its a 5x4 with 4 layers, but its not a perfect cube and has only 2 or 3 LEDs per column. I know that I'll need different resistors for the 2 LED and 3 LED columns but how do I calculate what I need from the IC chip to the LED and with the Transistor?
I'm using white LEDs (3.2v @ 20mA) driven by 74HC574 ICs with a 5 volt power supply.
The transistors are 2N2222.
I will do the math if someone can give me the formula or calculator!
(I'm using this a guide http://daid.mine.nu/instructabliss/?url=https://www.instructables.com/id/Led-Cube-8x8x8/)