creatorlars Posted January 21, 2009 Report Share Posted January 21, 2009 I am trying to compile the Midibox CV application using code offered for DOUT triggers in the Wiki here:http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_midibox_cv_with_a_doutI am getting a "syntax error" on this line:IFNEQ MIOS_PARAMETER1, ACCESS, rgoto USER_MPROC_NRE_NoNoteChn1The compiler doesn't return any errors if I comment out this line (but I'm guessing then my triggers won't work. :-[) Any clues? My MIOS coding skills are nothing right now, so I'm not even sure what I'm looking at. Quote Link to comment Share on other sites More sharing options...
TK. Posted January 21, 2009 Report Share Posted January 21, 2009 IFNEQ won't work with gputils anymoreReplace the line by cpfseq MIOS_PARAMETER1, ACCESS rgoto USER_MPROC_NRE_NoNoteChn1[/code]Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
creatorlars Posted January 21, 2009 Author Report Share Posted January 21, 2009 Worked! Thank you so much.I posted about asking how to change the Midi Channel from Ch. 1 to Ch. 16 in the "Design Concepts" forum, but I realize it may be better off moved here, in case you want to move it. Quote Link to comment Share on other sites More sharing options...
TK. Posted January 21, 2009 Report Share Posted January 21, 2009 Should work if you replace 0x80 by 0x8f, and 0x90 by 0x9fSee this page for details about the MIDI protocol:http://www.midibox.org/dokuwiki/doku.php?id=midi_specificationBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 22, 2009 Report Share Posted January 22, 2009 Don't be afraid to update that wiki page too, to save others this trouble in future. If you don't have time to fix the code, perhaps you can link this thread or something... Thanks! Quote Link to comment Share on other sites More sharing options...
creatorlars Posted January 22, 2009 Author Report Share Posted January 22, 2009 Cool, I will do that as soon as I get this working! I think I have burnt shift registers, because I'm getting nothing on my DOUT pins even with the DOUT test application -- ordering more today.It would be cool to add an extra menu page allowing you to route the DOUT triggers to whatever values you liked, maybe I'll try to tackle that in the future. It'd also be nice to be able to select whether or not a specific DOUT is a 1ms trigger or a regular gate. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 22, 2009 Report Share Posted January 22, 2009 Did you check the SRIO with the test app? all broken SRs would be very unlikely. Soldering errors on the SRIO lines are far more common. Quote Link to comment Share on other sites More sharing options...
creatorlars Posted January 23, 2009 Author Report Share Posted January 23, 2009 Well my DIN board (which is just a single shift register exactly as detailed in the schematic) is working fine. I have checked all the connections successfully from the pins on the shift register back to the PIC, and from the shift register to my DOUT pins... everything is fine. I only have the one DOUT shift register at the moment, so if it's bad, it's just a single one bad and not a whole chain... only other thing I can think of is the PIC has a bad pin, but that doesn't seem likely. I will check out that SRIO test app... the one I was using is the DOUT test app. Quote Link to comment Share on other sites More sharing options...
creatorlars Posted May 4, 2009 Author Report Share Posted May 4, 2009 Sorry it took me a while to revisit this.I got the code working and updated the wiki articles with the new information:http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_midibox_cv_with_a_doutI also updated the code in the German version of the page, but did not add the information on changing the MIDI channel, mein Deutsch ist sehr schlecht. :P 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.