LEDs and Multiplexing
Text Scrolling with Dot Matrix 8x8 and MAX7219
Topic: Text Scrolling with Dot Matrix 8x8 and MAX7219
(Read 27787 times)
Re: Text Scrolling with Dot Matrix 8x8 and MAX7219
Jan 01, 2018, 11:07 am
: Jan 01, 2018, 11:13 am by KrisAndrews
I'm pretty new to Arduino as well (not so new to programming), I have been playing around with scrolling text and have written a sketch that works pretty well for me.
Inside the loop() you just call the LED display function, e.g. ledText("Your text here"), as many times as you want, each time it will scroll the text on the display.
I only have a single LED matrix so I haven't tried linking them together, I expect you could do it if you just modify the last loop that actually sends the data to the LEDs, and maybe add some more blank columns at the start and end.
I only made this to see if I could so no guarantee it will fit your purpose but maybe you can use some of it.
My plan is to try hooking up some sensors and using it to display the output
Let me know how you get on and if you have any questions!
P.S. I tried to embed the code but it is too big, so attached instead!
P.P.S. Man, this is an old original post... just noticed that... anyway I will leave the code in case someone can use it!
downloaded 212 times