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

Is the full 'blank' screen necessary after scrolling some text? #12

Open
kosso opened this issue Apr 26, 2019 · 3 comments
Open

Is the full 'blank' screen necessary after scrolling some text? #12

kosso opened this issue Apr 26, 2019 · 3 comments

Comments

@kosso
Copy link

kosso commented Apr 26, 2019

Hi,
I have quite a long (8 x 128 for now) matrix to scroll some long text.
All that is working fine, and I am able to modify the text in between passes if needed.

But it always seems to need to scroll the whole text off the matrix before updating to the next (or scrolling again), leaving a fully blank matrix for a moment.

This matrix will eventually need to be longer, for a sign I have been asked to build. Is there any way to "wrap" the start of the next text to the end of the previous one, to avoid having to have a full blank screen/matrix after each 'loop' of the scroll?

I tried the INSTANT_OPTIONS_MODE thinking that might do it, but it didn't work.

Thanks!

@AaronLiddiment
Copy link
Owner

It's been a long time since I have used my function and to be honest I thought the INSTANT_OPTIONS_MODE would do what you want.
But there is another option you can use EFFECT_CUSTOM_RC "\xNN"
You could set NN to be 02 and place this code at the end of your message. Then check the return code from UpdateText(), when it is 02 you will know that the end of your message has just been displayed. Example5 demonstrates this.

@kosso
Copy link
Author

kosso commented Apr 27, 2019

Thanks ;) I appreciate the code is quite old now ;)
But just what I needed.

I'm trying to build a bluetooth (mobile and desktop) app to control a matrix via an ESP32.

So far, I have only been able to have the next 'loop' of the text clear the preceding copy of the text when I SetText() again. (after detecting the UpdateText() value).

I'll try the custom return code.

👍

@kosso
Copy link
Author

kosso commented Apr 27, 2019

I am also trying to work out how to create a function to create/append/update the unsigned char TextDemo[] array value, along with effects.

(I'm quite new to C++)

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