Jump to content

print text on display


ilmenator

Recommended Posts

Hello,

I have an application in C which uses four motorfaders, some buttons with LEDs and two displays, there is a picture of the box in this thread: http://www.midibox.org/forum/index.php?topic=6157.msg38115#msg38115.

I need to display text on the LCD which has been sent via MIDI sysex message. There is a function in MIOS which does that for me. This thread  http://www.midibox.org/forum/index.php?topic=3561.msg23261#msg23261 describes what I did to display the text permanently, until the next sysex message is received.

Now, below the permanent text in the first line, I want to print the values related to my faders in the second line. This is already working, but I notice that whenever a sysex message for the first line has come in, the displayed fader values are only refreshed after about two seconds or so. If I move the faders during these 2 seconds, the display is not updated. After these two seconds, the display shows the actual fader values.

Is there an easy way to make the display react instantaneously to fader movement, even if there has come in a sysex message telling the box to display text just before?

Btw, this is my first MIOS C application, and it is just amazing how easy  8) Thorsten has made things for us... THANKS!

Regards, ilmenator

Link to comment
Share on other sites

Hi Ilmenator,

I'm happy that the C wrapper finally animates more people to realize application by themself :)

To display messages: they are described here: http://www.ucapps.de/mios/mios_sysex_implementation.txt

With lcd-command 01 the LCD won't be cleared, which means, that the fader information will still be visible

If it is required, that the message vanishes once a fader has been moved, then you need to add a call to MIOS_LCD_MessageStop() to the AIN_NotifyChange hook

If you want to print the message permanently, then you need a more sophisticated sysex handler. A (more complex) example can be found in the MIDIbox MM application

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...