superfeed Posted September 18, 2008 Report Share Posted September 18, 2008 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. :)Thanks,John Quote Link to comment Share on other sites More sharing options...
stryd_one Posted September 20, 2008 Report Share Posted September 20, 2008 They're just counted 0...127, no rocket science hehehTry it, if the wrong LED lights, try something else. It'll soon make sense :) Quote Link to comment Share on other sites More sharing options...
superfeed Posted October 18, 2008 Author Report Share Posted October 18, 2008 Okay, I have spent many hours trying to understand this now, and the leds are not lighting up. :'(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 Quote Link to comment Share on other sites More sharing options...
cimo Posted October 18, 2008 Report Share Posted October 18, 2008 Are all unusued AINs connected to ground? Quote Link to comment Share on other sites More sharing options...
superfeed Posted October 18, 2008 Author Report Share Posted October 18, 2008 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? Quote Link to comment Share on other sites More sharing options...
cimo Posted October 18, 2008 Report Share Posted October 18, 2008 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 ? Quote Link to comment Share on other sites More sharing options...
superfeed Posted October 19, 2008 Author Report Share Posted October 19, 2008 Thanks Cimo,All unused AIN's are tied to VSS.And yes, it is: SI on J9 that is at 5VSO on J8 is 4.4V Quote Link to comment Share on other sites More sharing options...
cimo Posted October 19, 2008 Report Share Posted October 19, 2008 Try:http://www.ucapps.de/mios/dout_buttons_v1b.zip Quote Link to comment Share on other sites More sharing options...
superfeed Posted October 19, 2008 Author Report Share Posted October 19, 2008 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 Quote Link to comment Share on other sites More sharing options...
cimo Posted October 19, 2008 Report Share Posted October 19, 2008 A) yesB) yes 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.