Good Afternnoon, So I got the Matrix working - mostly...

Good Afternnoon,
So I got the Matrix working - mostly… :slight_smile:

I am trying to separate different text bits out of the LedTEXT lib.
And I am missing something that I think is probably fairly obvious, but I can’t figure it out right now.
I am running off Aaron’s LedMATRIX library and I am working on trying to put two messages on different Matrices (On different pins)
Code here:
http://pastebin.com/embed/6ZFSWADX

In the void loop()
I have the
if (ScrollingMsg.UpdateText() == -1 )

Then a second
if (ScrollingMsg2.UpdateText() == -1 )

They are both displaying, but over each other, rather than one after the other…

Thoughs?
Yes, I mentioned I think this is simple… Sorry.
TIA

I presume you are declaring 2 cLEDMatrix’s, one for each pin. If so your problem will be that you are calling the ScrollingMsg? Init function’s but passing the same cLEDMatrix to both calls.

@Aaron_Liddiment
Actually, I was doing 1 cLEDMatrix, as I it just calls out the matrix parameters, both will be the same.
I was doing 2 cLEDText’s.
I’ll paste what I have shortly

If you are using 2 pins for 2 matrix’s then you will need 2 cLEDMatrix’s as the LED’s are allocated by the class and need to be passed to the FastLED add call.