LED Matrix 16X32 Wrong Row Ordering

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
uroutoftime
 
Posts: 1
Joined: Tue Jan 18, 2022 6:40 pm

LED Matrix 16X32 Wrong Row Ordering

Post by uroutoftime »

So after setting up the LED matrix with an arduino Mega 2560 based on the following tutorial:
https://learn.adafruit.com/32x16-32x32- ... mper-wires
I found that while all of the lights are lighting up, the indexing is not correct.
To test this, I added some code to iterate through each of the 16 rows in order, but the rows lit up as follows:
Coded Row Ordering : [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
Actual Output Ordering:[0,4,1,5,2,6,3,7,812,9,13,10,14,11,15]
I also verified that it is not an issue with my code as I could recreate with the matrix.print() function and the default "testcolours_16x32 program.

I have verified that the connections have been set up correctly, but I was wondering if this is potentially just an issue with the LED matrix I received. This issue will NOT affect my final product as I can simply make an inbetween function to map the rows correctly, but I wanted to see if there is any known issue before going that route.

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”