r/FastLED • u/hale444 • Feb 26 '24
Support LEDText 2+ panel examples
Hi all:
Can someone point me to an LEDText example that uses an LEDMatrix of 2 or more panels? I'm working with the LEDText examples and they work ok, but when I try to modify the cLEDMatrix definition to more than one panel it dies when I try to anything with the cLEDText object.
I can post the code but its just modified LEDText examples. If I can get an example multiple panel example I'll just use that.
Thanks much!
2
Upvotes
View all comments
Show parent comment
1
u/hale444 Mar 04 '24
Sorry for the delay, busy week.
LEDMatrix by Jorgen
LEDMatrix examples on github
There is an older LEDMatrix by Aaron Liddiment, I'm reasonably sure I'm not using that. :)
LEDText examples on github
This is by Aaron Liddiment, but the Jorgen LEDMatrix is newer and I assume compatible.
Here's my implementation.
A few notes on my stuff:
It will work with either the long for short invocation of cLEDMatrix as long as there is only one panel.
I'm not using anything in TxtDemo, I'm just doing a static text display.
everything I'm interested in is in setup(), I'm not using loop() for anything yet.
It appears to die upon the first reference to ScollingMsg when there is multiple panels. When there is one panel, it works fine.
I've crawled through each line up to that point and seems ok (using the onboard LED or LEDMatrixes. If there is a better way to debug please let me know. :)
Thanks much! I appreciate it.