Pages: [1]   Go Down
Author Topic: Matrix lib/MAX7219 wrong ouput?  (Read 524 times)
0 Members and 1 Guest are viewing this topic.
Perth, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 21
DuinoStamp :)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I've just received my samples from Maxim and have been playing around. At first I thought a bunch of the chips were damaged as I have only connected 8 LEDS and none of them were turning on. I checked through several tutorials for the matrix library and checked all my connections. however nothing turned on. Then I though well lets play around a little and turn one out of 8 leds on from each of the 8 outputs. Low and behold an LED turns on. However it was the wrong one. On futher examination -everything is backwards. The array is [0-7][0-7] if you use row 0 then row 7 actually turns on, same with the individual  LED's the 0 output turns on led 7. And yes I've checked everything over and over, so either the library is backwards, or the datasheet is backwards, take your pick. Just thought I'd ask if anyone else has come across this little slip up and if there is a decent work around besides wiring everything in reverse.

Justin
Logged

Denver
Offline Offline
God Member
*****
Karma: 20
Posts: 779
Inactive - PM
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There was some controversy about "which way is up"!
There is also confusion about the roll that the DP (decimal point) line played.

Based on the this, I think you will find that the Matrix lib and another - the LedControl lib - treat the issue differently.

Therefore, you might want to try the LedControl lib, and see how that works.
(You'll find it, and other info in the Playground | Output | LEDs| MAX72xx)
« Last Edit: July 17, 2008, 09:00:17 am by BroHogan » Logged

"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

Perth, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 21
DuinoStamp :)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks I'll give the other library a go. I'll report back sometime this weekend smiley
Logged

Perth, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 21
DuinoStamp :)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you Thank you Thank you smiley

the LedControl Library does exactly what I need, and has everything around the way I would expect.
Logged

Pages: [1]   Go Up
Jump to: