Replies: 1 comment 2 replies
-
This has little to do with SysEx, and more with how LCD screens store data in their memory. To reduce the amount of cycles per character (which shortens its life), it keeps an internal memory of what was displayed before, and only overwrites with incoming data. To have consistent writes, you have two options:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi and thank you so much for this library that make my life brighter everyday :)
I'm listening midi sysex message reception on my esp32 with that code :
The message is the good one and I can store the string I need and display it. But it seems that my string doesn't initizialize correctly each time I send a new message :
for info I start the "for" loop at 2 because the first 2 bits are the header of the message so we don't read it, same for the length -2 because we do not read the last byte.
If I send the following sysex (where F0 11 and F7 are the system bytes): f0 11 65 6c 65 70 68 61 6e 74 f7 my screen displays elephant
But if after I send a shorter one : f0 11 72 61 74 f7 for "rat", my screen display « rathant » as if a chunk of my string was still stored somewhere
I've test the length of my byte array in order to controle the length was changing and it's ok.
Sorry, it's must be easy but I don't see my mistake.
Thanks for all!
Beta Was this translation helpful? Give feedback.
All reactions