Go Down

Topic: Arduino to 384 LED display module (MCU Interface) (Read 46264 times) previous topic - next topic

egroJ

The video:

[media]http://www.youtube.com/watch?v=braG7_r_9M8[/media]


Adz

#361
Dec 22, 2010, 06:30 pm Last Edit: Dec 22, 2010, 06:37 pm by Adz Reason: 1
If you use my code on page 23 you can see which co-ordinate changes are required if your adressing is different, my older display adressing is like this ;
//                                        Column1       Column2        Column3     Y coordinate number
//                                       |00000000||00000000||00000000|0
//                                       |00000000||00000000||00000000|1
//                                       |00000000||00000000||00000000|2
//                                       |00000000||00000000||00000000|3
//                                       |00000000||00000000||00000000|4
//                                       |00000000||00000000||00000000|5
//                                       |00000000||00000000||00000000|6
//                                       |00000000||00000000||00000000|7      
//Top X coodinate            [6543210-1][14   to     7][22    to 15]      
//                                         Top    left         middle        right 8x8's
//                                       |00000000||00000000||00000000|8
//                                       |00000000||00000000||00000000|9
//                                       |00000000||00000000||00000000|10
//                                       |00000000||00000000||00000000|11
//                                       |00000000||00000000||00000000|12
//                                       |00000000||00000000||00000000|13
//                                       |00000000||00000000||00000000|14
//                                       |00000000||00000000||00000000|15
//Bottom X coodinate      [6543210-1][14   to   7  ][22    to  15 ]    
//                                        Bottom   left      middle      right 8x8's

If you edit the X coordinate in my code you can see where your displays adress is different from mine.
As the values on mine start at -1 not zero as I 1st assumed it would be. My display values ascend as in the above diagram from -1 to 22, I hope this helps you find the values for your X coordinates. Also I have found the newer displays are different values from my old display. I would be interested what other people found they need to use for the X values to display in thier columns in order correctly?
Maybe the swapped columns you refer to are because of the X coordinate value?

Go Up