mb944 Posted January 7, 2005 Report Share Posted January 7, 2005 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 LedsI 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 LCDIs 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 inBest wishes!-Alex Quote Link to comment Share on other sites More sharing options...
TK. Posted January 9, 2005 Report Share Posted January 9, 2005 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 0MIOS_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. Quote Link to comment Share on other sites More sharing options...
mb944 Posted January 10, 2005 Author Report Share Posted January 10, 2005 Thanks Thorsten!Thats going to save me hours of work, and maybe a couple of keys of my computer keyboard ;)best regards,Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.