Coding to controll a 4x4x4 led cube with arduino duemilanove... Help please? Answered
Okay, i know how to build the cube and to multiplex it to use only 12 pins. what i am going to do is connect each anode of each level and connect each cathode of each row, and each one will go to its own transistor. so i will have a total of 8 transistors for the anodes and 8 transistors for the cathodes, which i can further multiplex into two groups of 4x2 transistors. that makes a total of 12 pins on the arduino(i hope that makes sense ill add pics of what i mean to help) but what im asking is that i need help on writing the code for this project. i have a basic idea to run loops inside of loops to make more than one led look like theyre on at the same time(i believe its called persistance of vision) but maybe someone more experienced would be able to help me out with this. thank you to anyone helps and A Happy New Year To All Of You!!!