Okay, I am thick... How do I know which output for led on dout MB64?

I have two dout boards connected to the core.

How are they addressed?  If I want to trigger an led with an incoming midi event, how do I tell it which led to illuminate?

Please be patient with me. I cannot believe how little understanding I have of this.

:slight_smile:

Thanks,

John

They’re just counted 0…127, no rocket science heheh

Try it, if the wrong LED lights, try something else. It’ll soon make sense :slight_smile:

Okay, I have spent many hours trying to understand this now, and the leds are not lighting up. 

:cry:

In my MB64 v2 I have only one DIN and one DOUT module connected.  I am using MIOS V1.9F.  The buttons are working fine.  My DOUT board is an R2 from Smash.

If my understanding is correct from the posts I have looked at (many times) the default would be for when the button toggles, to turn the led on or off, right?

Do I need to have all 8 SR’s (both DIN’s & DOUT’s) connected?

I checked the output pins on the header of the DOUT board and I cannot find any voltage on any of the outputs regardless of the button state.

I have never programmed anything, so the asm files are perplexing.  :-\

Any guidance or ideas would be of great help.

Thanks,

John

Are all unusued AINs connected to ground?

Thanks Cimo,

The AIN’s look okay.

With DOUT SO disconnected,

Core J8 SO reads 4.44 VDC, but J9 SO reads 5.0 VDC.

Is this a problem with the core?

The AIN’s look okay.

I am happy they look ok but are the connected to ground or deactivated in the application?

Core J8 SO reads 4.44 VDC, but J9 SO reads 5.0 VDC.

there is no SO on J9, do you mean SI ?

Thanks Cimo,

All unused AIN’s are tied to VSS.

And yes, it is: 

SI on J9 that is at 5V

SO on J8 is 4.4V

Try:

http://www.ucapps.de/mios/dout_buttons_v1b.zip

Thank you very much for your patience Cimo.

The button program worked.  It was very nice to see them light up.

Current status:

A. I have now reloaded MB64, and realize that what I have connected to pins 9-16 on the DIN corresponds to LED’s connected to pins 1-8 on DOUT.

B. In MB64, the LED’s only flash as the button is pressed and then go out again.

I assume that (A) is because of definition in the setup_midibox64.asm file.

Is (B) the LED’s not toggling also a function of the setup file?

Thanks,

John

A) yes

B) yes