Thanks Ahmadabuomar, and your welcome.
First row's dimmer than the others ... ok.
Let's try moving the "blanking", so that all the rows are ON the same amount of time.
It should actually dim the other 7 rows to what the first one was.
Code:FOR CNTR2 = 0 TO 100 FOR CNTR1 = 0 TO 7 STRB = 0 COL = COLVAR[CNTR1]^255 SHIFTOUT DAT,CLK,0,[COL] STRB = 1 ; latch the data PORTB = DCD CNTR1 ; turn on the Row PAUSE 2 ; LED ON time PORTB = 0 ; blank all Rows NEXT CNTR1 NEXT CNTR2
Bookmarks