Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying both static and scrolling text #160

Open
dineshimatrix opened this issue Mar 16, 2023 · 2 comments
Open

Displaying both static and scrolling text #160

dineshimatrix opened this issue Mar 16, 2023 · 2 comments

Comments

@dineshimatrix
Copy link

Hi,

First of All, a very great applause and sincere thanks to you for the library.

I've an MAX7219 display which was arranged in a 32x64 fashion(width=64 pixels and height =32 pixels). I'm able to display static text in every row and now i need to display static text in first 3 rows and a scrolling message in last row. But i dont know how to handle this. Trying the loops is not a good idea i think, since i assume this kind of scenarios might be handled already in the library.

Please give me any hint to solve this issue.

@javafiles
Copy link

Hi,

Did you find a solution for this? I need to display both static and scrolling text;

Thank you

@dineshimatrix
Copy link
Author

Hi,

Did you find a solution for this? I need to display both static and scrolling text;

Thank you

Hi @javafiles

I got the idea. While scrolling the text i updated the static code also.

ex:

loop {
static text
move scroll content by one pixel
}

loop until all the scrolling text has been passed out of canvas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants