Go Down

Topic: LED matrix display - MD_Parola, MD_MAX72xx and MD_MAXPanel (Read 541518 times) previous topic - next topic

marco_c

You probably also need to check loop indexes and function parameters at a minimum.

Also, the font table is all uint8_t type, how are you going to store a number larger that 255?
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Ysayyed

Thank you marco for your kind reply. Can you please point out which loop indexes and function parameters i have to check. Yes you are right the font table is uint8_t type. I am thinking to use 16bit short or int which uses 2 bytes of the disk space and provide a wide range of values from -32768 to 32767. Am i right in this selection or not??

One more thing i am following your criteria of defining bytes for the font table i.e. 1, 2, 4, 8, 16, 32, 64, 128 so the total becomes 255. But, the problem with short or int is that I have to start from 128 which will reach upto 16384 and the total is still 32640. Will this still work or not ??

Any clues how can i get the correct match ?

marco_c

Quote
Can you please point out which loop indexes and function parameters i have to check
No I can't. As I have told you in another forum, you need to look at the code, understand what it does and evaluate whether the changes you have made will affect the code or not. Without actually doing that myself, I can't tell you where you will need to change things. I also pointed out this is not a newbie type project unless you have programmed somewhere else before.

Quote
-32768 to 32767
You actually need to have 0 to 65535. It makes no sense for characters to be negative numbers.

Quote
Will this still work or not ??
I don't understand what you are trying to explain.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

vader7071

I was wondering if it is possible to address an 8x8 matrix alone.

What I am hoping to do:  (5) 7219 chips side by side, scrolling a message.  Then have (2) 7219 chips displaying random data.  These 7219's will be connected to 8x8 LED matrices.

I can place the extra (2) either at the front or end of the chain, that won't be an issue.
Creatively engineering consent since 1976.

marco_c

Yes you can. The Parola_Zone_Sign example is probably already quite close to what you are describing.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

vader7071

Yes you can. The Parola_Zone_Sign example is probably already quite close to what you are describing.
Thank you!  I am looking at the example now.

If I am reading the example correctly, it is set to do 3 zones? (using the "p.setzone")

Is there a tutorial on this setup that I can read up on?
Creatively engineering consent since 1976.

marco_c

Documentation for all my libraries is in their respective docs folder.

Links to a few videos showing the library in use from the README file on github or in the library folder.

Parola blogs are on my blog site, link below. Search for "Parola A to Z".
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Ysayyed

Hi marco,

Thanks for your valuable time and interest to answer my questions. My problem is somewhat solved with your double height display examples. But, now I got stucked in another problem, it goes like follows:

I am trying to make a double height display. The data is to be fetched from sd card (Because, the text strings exceeds the limit of character as you shown in example of double height display also it is not a single paragraph. There is a series of different messages which are stored in sd card namely 1.txt, 2.txt, 3.txt). You have made two fonts for two zones namely BigFontLower and BigFontUpper. I, am able to read the data for a single zone (As shown in sd card example). But, i am unable to read .text file from sd card for double height zone display. Please help me in this.


marco_c

Quote
i am unable to read .text file from sd card for double height zone display
If you are unable to read the text from an SD card this is not a problem with the Parola library, especially if it already works for the standard normal font size sd card example.

I would suggest that you create a small test program that reads a text file from the sd card and displays it to the serial monitor. Once you have worked out how this can be made to work you can extent it into the double height example. If your test program does not work then there is more chance of getting help for it in the main Programming forum, where there is a bigger audience.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com

Go Up