Hey guys, I haven't been coding very long, and I've looked at some of the posts on here to see what I could find out about how to write code for multiplexing, but I haven't really found what I'm looking for.
I understand how multiplexing works, and how you have to write one pin HIGH on the anode side wile all the other pins are written LOW, and on the cathode side you write all the pins HIGH except for one, and that will turn on the LED that lies at the intersection of the high anode and low cathode.
I'm starting out small with a 3x3 array, and then planning on working up towards an 8x8 using 12 pins (by multiplexing 8 in my rows and columns using transistors) and then possibly using that to make a 4x4x4 LED cube.
I've seen alot of examples using binary to call for the LED you want lit, and I was wondering how exactly you set up your code to use binary, since I haven't seen much of that.
For my 3x3 example, I have my anodes connected to pins 8, 9, and 11 and my cathode pins connected to 2, 3, and 4. Any help is much appreciated :D