Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
331 stars 158 forks source link

Double height display #170

Open victor7376 opened 3 years ago

victor7376 commented 3 years ago

Making a double height display puts the clock on the top line instead of filling the whole display.

The scroll feature does seem to put everything in the middle of the two.

Is there a limit within the coding for more than 6 display panels ?? When I add more it throws up a mess within the display.

brianmiller1956 commented 3 years ago

Hi, I believe there is a limit of 16 modules or 4 panels ie 4*4 pcb in the max7219 library, I have not tried this but I have read previous posts that say this, you are effectively using 24 modules in 6 panels. I tested the 2 high setup previously and got your same results

Sent from my iPad Pro

On 9 Jan 2021, at 14:03, victor7376 notifications@github.com wrote:

 Making a double height display puts the clock on the top line instead of filling the whole display.

The scroll feature does seem to put everything in the middle of the two.

Is there a limit within the coding for more than 6 display panels ?? When I add more it throws up a mess within the display.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

victor7376 commented 3 years ago

Cheers

Did just find this:

https://github.com/markruys/arduino-Max72xxPanel/issues/19

Not sure if it a fix or not, but might test it to see if its different in anyway

UPDATE:

nope doesnt fix it lol

victor7376 commented 3 years ago

UPDATE: I've figured out the double height on the scroller, but it is VERY slow lol

change following:

Line 56 to int width = 10 + spacer; // The font width is 5 pixels + spacer

Line (approx) 1616 to : int letter = i / width; int x = (matrix.width() - 2) - i % width; int y = (matrix.height() - 16) / 4; // center the text vertically while ( x + width - spacer >= 0 && letter >= 0 ) { if ( letter < msg.length() ) { matrix.drawChar(x, y, msg[letter], HIGH, LOW, 2); }

This doubles the height of the text scrolling but as stated it is very slow.