I can see, from the schematic, that the "rows" are shifted by one, because the ROW0 pin is connected to the led matrix "row 1", ROW1 to matrix "row 2",,, etc, and the ROW7 pin is finally connected to matrix "row 0".
However, the way my code is working makes me think that the "columns" are also shifted by one.
For example, my code to turn on col0/row0 and col1/row1 is..
Code: Select all
# initialize bitmap buffer
for i in range(0, 16):
dbuffer[i] = 0
dbuffer[0] = 0x01
dbuffer[14] = 0x80
smbus.write_block_data(ADDRESS, 1, dbuffer)
However, I also have to use column values of 0x01 and 0x08, instead of 0x01 and 0x02.
Anyway, if any of the above makes sense, any clue to what is confusing me would be appreciated..