Okay, trying to hook up my 8x8 LED matrix based upon code from Arduino Playground - DirectDriveLEDMatrix
I have the pins figured out on my Matirx and the columns have common cathode (-) and I placed a resistor on the rows for (+)
Whenever I try to hook up wiring for Rows and Cols as in code below, I bet a bunch of flashing in the rows and mosed LEDS are typically on.
// pin[xx] on led matrix connected to nn on Arduino (-1 is dummy to make array start at pos 1)
int pins[17]= {-1, 5, 4, 3, 2, 14, 15, 16, 17, 13, 12, 11, 10, 9, 8, 7, 6};
// col[xx] of leds = pin yy on led matrix
int cols[8] = {pins[13], pins[3], pins[4], pins[10], pins[06], pins[11], pins[15], pins[16]};
// row[xx] of leds = pin yy on led matrix
int rows[8] = {pins[9], pins[14], pins[8], pins[12], pins[1], pins[7], pins[2], pins[5]};
I am assuming that the first element in the col[8] array corresdonds to Col 1 (pin13 leads to col 1, Pin 3 to col 2 etc...) and the same with row[8] array.
Where did the order for pins[17] come from and does it matter?
I would like to rearrange the rows and cols in code to match my display as I have and R/G 8x8.
Any suggestions here? I simply want to display scrolling text and this little playground file looks good, just ca't figure out how to get likned to my display.
Thanks for your help. Learning Arduino and C as I go along here.