Jump to content

MIOS slavery via sysex?


mb944
 Share

Recommended Posts

Hello and happy new year to all!

I am making a midibox64E  control surface but i want to to drive a funky Dotmatrix display on it using 64 Leds

I use visual basic midi program to filter the midibox messages and would therefore like to drive the dotmatrix from visual basic.

I see you can use SYSEX to control the midibox's LCD

Is there a way to control the DOUT pins using sysex???

If not, what is the default midibox64E midi mapping for LEDS?

I don't want to use ledrings, because I need individual controllable Leds for complex Dotmatrix displays.

thanks in advance for Any suggestions on driving DOUT from midi in

Best wishes!

-Alex

Link to comment
Share on other sites

Hi Alex,

yes - MIOS provides a debug interface which allows you to execute any function via SysEx - so, you could call MIOS_DOUT_PinSet to set a single LED, or MIOS_DOUT_SRSet to set 8 LEDs of a shift register at once (which is much faster)

MIOS_DOUT_PinSet:

F0 00 00 7E 40 00 0D 01 00 59 40 <a> <b> <c> <d> 00 00 00 00 F7

<a> and <b> are the two hex-digits of the pin number. Pin 18 (the 19th DOUT) has the hex value 12, so <a> should be 1 and <b> should be 2

<c> and <d> are the two hex-digits of the pin value. It's either <d>=0 (LED off) or <d>=1 (LED on)

<c> is always 0

MIOS_DOUT_SRSet:

F0 00 00 7E 40 00 0D 01 00 59 50 <a> <b> <c> <d> 00 00 00 00 F7

<a> and <b> are the SR number. <b> from 0 to F, <a> is always 0

<c> and <d> are the LED values (2 * 4 bits)

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

×
×
  • Create New...