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

Help with scrolling 2 lines of text with runtext.py or other *.py #1087

Open
absolutspl opened this issue Jun 23, 2020 · 8 comments
Open

Help with scrolling 2 lines of text with runtext.py or other *.py #1087

absolutspl opened this issue Jun 23, 2020 · 8 comments

Comments

@absolutspl
Copy link

I have read through all the pertinent info from adafruit and rpi-rgb-led-matrix. Sorry if this is a repeated question.
Is it done with multiple lines? like this:
self.parser.add_argument("-t", "--text", help="The text to scroll on the RGB LED panel", default="ZZZZZZ")
self.parser.add_argument("-t", "--text", help="The text to scroll on the RGB LED panel", default="XXXXXX")
Thanks in advance.

@hzeller
Copy link
Owner

hzeller commented Jun 23, 2020

Not clear what you mean, but do you want two different lines shown on the panel ?
Of course - just modify the code to do that. You have the power of Python or C++ at your hands, you can do anything you want with the canvas the LED matrix provides.

@absolutspl
Copy link
Author

absolutspl commented Jun 24, 2020 via email

@anandrajgupta
Copy link

I also have a similar requirement.

Please provide if a solution exists!

I am using c-code to make program for running two lines simultaneously, and for that i will have to run 2 for loops simultaneously inside main() function, is it possible?

i think for that i will have to create a thread and in that thread the "canvas" will not be recognized, the "canvas" is only accessible in main() function isn't it?

Please guide me in the right direction, Thank you!

@absolutspl
Copy link
Author

absolutspl commented Jul 19, 2022 via email

@anandrajgupta
Copy link

Thank you very much, i will be waiting...

@absolutspl
Copy link
Author

absolutspl commented Jul 21, 2022 via email

@anandrajgupta
Copy link

Thank you!

As i mentioned earlier i am using C-Code so this help is not usable for me, thank you for the efforts anyway :)

@absolutspl
Copy link
Author

absolutspl commented Oct 11, 2022 via email

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

3 participants