I'm new to this and need some advice. I've managed to connect 8 led matrix and have a message scrolling on them but it is scrolling vertically on the display. I need it to come from right to left not top to bottom.
Is there an easy fix or have I missed something big?
Thanks for any help offered.
You are looking for the Parola project.
Thank you for your response. I’m looking at that and completely lost. Some of it makes sense but I think I’ve bitten off more than I can chew.
I have a code that does exactly what I want but it scrolls in the wrong direction.
The code is included as attachment hopefully.
Scroller.ino (9.88 KB)
Your video is private so cannot be viewed.
The fundamental issue is that the code is moving columns and you should be moving rows. It comes down to the way the matrix is wired up is probably different from the assumptions made in the LedControl library.
Rookie error. I've made it public now.
Thanks so much for getting back to me. I'll keep searching and hunting.
I think I'll need to start from scratch and learn to program it. Was trying to cheat and take a short cut.
Someone else has already mentioned it but the Parola library and code will do what you want and more.
After remembering to “Import” the Parola library, I now have it installed and compiles fine. I have added the
#define USE_PAROLA_HW 0
#define USE_FONT_ADJUST 1
and the text is now coming scrolling from the bottom of the display to the top and is mirrored. I feel that I’m getting closer but I need to use the enum transformType_t
TSL, ///< Transform Shift Left one pixel element
TSR, ///< Transform Shift Right one pixel element
TSU, ///< Transform Shift Up one pixel element
TSD, ///< Transform Shift Down one pixel element
TFLR, ///< Transform Flip Left to Right
TFUD, ///< Transform Flip Up to Down
TRC, ///< Transform Rotate Clockwise 90 degrees
TINV ///< Transform INVert (pixels inverted)
I can’t seem to get this to work at all. I have once again included the code. I hope someone can talk me through my errors as I’m starting to pull out the limited hair I have left.
Parola_Test.ino (4.39 KB)
You don't need to have the FONT_ADJUST turned on at all, that is an engineering function, and you should not need any transformations. FONT_ADJUST is removed in the next version as it seems to be confusing quite a few people.
With the modules that you have you will need to make sure that they are oriented so that the IC is at the TOP (ie, it looks upside down from the picture you have at the beginning of this thread), and you should be ok.
There is information on your module type doing this and a photo in the main Parola thread LED matrix display - MD_Parola, MD_MAX72xx and MD_MAXPanel - Exhibition / Gallery - Arduino Forum
Just wanted to drop a line and say a huge thank you for pointing me in the right direction. Didn't realise that I had to change the code in the MD_Parola.h and MAX72xx.h files. I was reading them as just text and instruction files. The display is working amazingly now and I can't wait to see how far I can take this.
You guys are amazing . Thank you XD XD XD