Arduino Forum

Using Arduino => Displays => Topic started by: stephsk09 on Oct 29, 2020, 11:41 am

Title: mixed content with led matric max72xx
Post by: stephsk09 on Oct 29, 2020, 11:41 am
Hi everybody,
this is my first post.

I hope i do it right....

I would like to know how I could mix byte content and text content on a led matrix...

i would like to scroll ( RTL) za logo and some text...

I could do one separately but i don' see how i could mix both..

Thanks for your help...

the project is a social media counter....

thanks again 
Title: Re: mixed content with led matric max72xx
Post by: groundFungus on Oct 29, 2020, 08:42 pm
What particular LED matrix?

I use the 8x8 matrices that can be daisy chained (https://howtomechatronics.com/tutorials/arduino/8x8-led-matrix-max7219-tutorial-scrolling-text-android-control-via-bluetooth/).

Using the Parola library (https://github.com/MajicDesigns/MD_Parola) I can easily mix text animations and graphics (sprites).
Title: Re: mixed content with led matric max72xx
Post by: Paul__B on Oct 29, 2020, 09:42 pm
I use the 8x8 matrices that can be daisy chained (https://howtomechatronics.com/tutorials/arduino/8x8-led-matrix-max7219-tutorial-scrolling-text-android-control-via-bluetooth/).
Except that article does not appear to comprehend how to configure the particular matrices in the MaxMatrix or Parola library., so it is a bad example!  :smiley-eek:
Title: Re: mixed content with led matric max72xx
Post by: marco_c on Oct 29, 2020, 09:53 pm
If your logo is simple then the Parola library can do a sprite, as mentioned above. Here is a blog post and video of the library using sprites: https://arduinoplusplus.wordpress.com/2018/04/19/parola-a-to-z-sprite-text-effects/ (https://arduinoplusplus.wordpress.com/2018/04/19/parola-a-to-z-sprite-text-effects/). The code for the display shown is the library examples.

If you want the logo to scroll like the message (ie, with the message) then you need to define the bitmap as a character that you can insert in the scrolling string. This is also possible with Parola.
Title: Re: mixed content with led matric max72xx
Post by: Paul__B on Oct 29, 2020, 10:26 pm
If you want the logo to scroll like the message (ie, with the message) then you need to define the bitmap as a character that you can insert in the scrolling string.
That does seem to be what was requested.

Good fun defining additional characters.  :smiley-lol:
Title: Re: mixed content with led matric max72xx
Post by: marco_c on Oct 30, 2020, 04:52 am
Defining and adding characters on the fly is straightforward, and they can replace existing characters. Please refer to the addChar() method in the library documentation.