Jump to content

Send sysex to LCD


FantomXR

Recommended Posts

Hi,

I want to print a text message on the first display which is connected to the core via a sysex file.

I'm wondering if there is a tutorial or example for that.

I want to know how to set up the ngc and the sysex file.

I really appreciate your help.

Thanks,

Chris

Link to comment
Share on other sites

hi i tried a couple tests to see how this SYSEX works on MB_NG

 

you can do this on a couple on differnt ways...

you can allready find some parameters on Ucapps.

 

but to give you a example i did this...

 

On the .NGC i used this line..for testing

 

EVENT_Receiver  ID =3  type=SysEx  stream="0xf0 0x00 0x30 0x00 ^txt"  LCD_POS=2:1:2
EVENT_Receiver  ID =4  type=SysEx  stream="0xf0 0x00 0x31 0x00 ^txt"  LCD_POS=2:10:2
EVENT_Receiver  ID =5  type=SysEx  stream="0xf0 0x00 0x32 0x00 ^txt"  LCD_POS=2:20:2
EVENT_Receiver  ID =6  type=SysEx  stream="0xf0 0x00 0x33 0x00 ^txt"  LCD_POS=2:30:2

 

0xf0 = Begin of massage

0x00 = Null (No clue just looks nice)

0x30 = 1 (i  use this like a ID) you can also just create something you like to have..

0x00 = Null (realy imported to put this on the end otherwise you'll get strange results)

^txt = for the MB_NG so it knows that is is a Tekst..

 

 

now i use Bome's midi translator to send the SySex string..for testing.

 

F0 00 30 00 54 45 53 54 30 F7 (this will print "TEST0" on the lcd)

F0 00 31 00 54 45 53 54 31 F7 (this will print "TEST1" on the lcd)

F0 00 32 00 54 45 53 54 32 F7 (this will print "TEST2" on the lcd)

F0 00 33 00 54 45 53 54 33 F7 (this will print "TEST3" on the lcd)

 

but as you see i put the LCD:Y:Z on the .NGC but you can also add this to the Sysex string..

 

 

i hope this clears it up for you..

 

/spirit

Link to comment
Share on other sites

  • 3 years later...
  • 6 months later...

Hey people,

one more question on this:
I'd like to clear a specific OLED before displaying the received text. How to achieve that? My problem is: If the newly received text message has less characters than the old, the non-overwritten characters will stay there. I tried a few different things like label=%C, etc. but this is not working at my side. 

Also it would be enough, if NG just adds some spaces after a received message. So I tried stream="0xf0 0x11 0x22 0x33 0x00 0x00 ^txt 0x20 0x20 0x20 0x20 0xf7" which should output 4 spaces after the text-message... but that's not working.

Any suggestions?

Thanks!

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...