OK, first off, my knowledge of the arduino is fairly basic - i've experimented successfully with lots of simple things like leds and ldrs and pots and switches and solenoids and relays and transistors and have a reasonable understanding of circuits from high school physics, but i've just left school so that's where my knowledge ends.
The only programming knowledge I have is stuff i've taught myself, which is the main reason my projects have all been so basic.
I'm trying to control an LED matrix with the aim of eventually making a music visualizer. I made my own 4x4 on a breadboard, but I can only get a whole row or column to light up. The problem is, I don't really understand arrays well enough to use them, so I thought I'd experiment by naming the 8 pins i was using row1-4 and column1-4, and then writing them LOW or HIGH. However, all I can achieve through this (and i've tried A LOT of variations) is lighting up an entire row or column.
I adapted this: arduino(dot)cc/playground/Main/DirectDriveLEDMatrix
but the circuit diagram confused me. I assumed that the anodes of a row and the cathodes of a column would all be connected together(or vice versa), and then the row or column would be connected to a pin. This is how I wired my breadboard, but in the circuit diagram it looks like row is connected to every column, and every column to every row.
What I'm asking is, is it my matrix or my programming (or both) that are flawed?