Open kosso opened 5 years ago
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.
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.
:+1:
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++)
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!