Jump to content

Recommended Posts

Posted

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

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...