Sasha Posted June 1, 2006 Report Share Posted June 1, 2006 I have problem with my last midibox project. I uploaded MB64E aplication on MIOS v1.9. Instead of normal increase/decrease behaviour when moving encoder i get button behaviour (0/127 values). Where did I go wrong? I didn`t configured anything, just uploaded MB64E.syx files. I tried to switch encoder pins several times but same thing happends. I am almost sure all connections are good. I also tried different encoders, and different DIN pins without success.Here is snapshot moving encoder left and right: Quote Link to comment Share on other sites More sharing options...
FiddlerMD Posted June 1, 2006 Report Share Posted June 1, 2006 I've got a similar issue in a previous post (a few down from this one as of this writing). The only difference is that I tried modifying the include table and i tried mbox64, 64e and LC.. all with the same results .. anyone shed light on this? Quote Link to comment Share on other sites More sharing options...
TK. Posted June 3, 2006 Report Share Posted June 3, 2006 You need to adapt the pin assignments for rotary encoders to your hardware -> mios_tables.incBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Sasha Posted June 5, 2006 Author Report Share Posted June 5, 2006 If this ansver is for me please confirm.For MB64E with 2 detended encoders for NI Traktor jogs on SR#1, pins 4&5, 6&7 I have to:1. modify MIOS source code file "mios_tables.inc" like this...;; encoder entry structureENC_ENTRY MACRO sr, din_0, mode dw (mode << 8) | (din_0 + 8*(sr-1)) ENDM ENC_EOT MACRO dw 0xffff ENDMMIOS_ENC_PIN_TABLE ;; entry 0x00-0x0f ENC_ENTRY 1, 4, MIOS_ENC_MODE_DETENTED ENC_ENTRY 1, 6, MIOS_ENC_MODE_DETENTED ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT ENC_EOT...2. compile and upload MIOS3. upload MB64E aplication file "setup_midibox64.syx"Am I right? Quote Link to comment Share on other sites More sharing options...
moxi Posted June 5, 2006 Report Share Posted June 5, 2006 yes it's here that you have to assign your encodeurs... Quote Link to comment Share on other sites More sharing options...
Sasha Posted June 5, 2006 Author Report Share Posted June 5, 2006 Thx. Moxi. I`ll try it this way. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 5, 2006 Report Share Posted June 5, 2006 MIOS should already be on the chip. You should make the modifications to the MB64e Application source, and recompile that. I think you have the right idea but just used the wrong word :) Quote Link to comment Share on other sites More sharing options...
Sasha Posted June 8, 2006 Author Report Share Posted June 8, 2006 I done it, now it works. I dont know have i ever read about it and where. I read lots of times same documents but seams i often missing some information in the time i need it. Most dificult thing for me about MIOS projects is navigatin trough documents :) Quote Link to comment Share on other sites More sharing options...
John Hetmond Posted April 23, 2007 Report Share Posted April 23, 2007 hello ! I have problem with my 8 encoders. This part of my controler is based on MB64e.Im my "mios_tables.inc" code i have : ...;; encoder entry structureENC_ENTRY MACRO sr, din_0, mode dw (mode << 8) | (din_0 + 8*(sr-1)) ENDM ENC_EOT MACRO dw 0xffff ENDMMIOS_ENC_PIN_TABLE ;; encoders 1-16 ;; SR Pin Mode ENC_ENTRY 1, 0, MIOS_ENC_MODE_DETENTED ENC_ENTRY 1, 2, MIOS_ENC_MODE_DETENTED ENC_ENTRY 1, 4, MIOS_ENC_MODE_DETENTED ENC_ENTRY 1, 6, MIOS_ENC_MODE_DETENTED ENC_ENTRY 2, 0, MIOS_ENC_MODE_DETENTED ENC_ENTRY 2, 2, MIOS_ENC_MODE_DETENTED ENC_ENTRY 2, 4, MIOS_ENC_MODE_DETENTED ENC_ENTRY 2, 6, MIOS_ENC_MODE_DETENTED ENC_EOT ENC_EOT ENC_EOT ENC_EOT ...And after that i'm saving it in notepad, opening main.asm in MPLAB IDE , Building the main file into main.hex and... uploading it to my core using Mios Studio... and still my 8 encoders are working from 1 to 127 = / I would like to have function inc/dec! I tried to change it in 10 pr 20 diferent ways and i dont know what to do...and where is something wrong? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 23, 2007 Report Share Posted April 23, 2007 All seems to be functioning correctly there mate. You might like to start a new thread for this new problem, if there is one :) Quote Link to comment Share on other sites More sharing options...
audioworld Posted April 23, 2007 Report Share Posted April 23, 2007 ok, I just have to ask this again:what use does this "midibox64e.ini" file have? If one has to define the MIDI codes inside mios_tables.inc, it seems redundant to me to also do this in the ini-file. which file "wins"?thanks,karl. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 24, 2007 Report Share Posted April 24, 2007 Well they have different functions.The .inc file, defines the way that your components are electrically connected, IE there is an encoder connected to pin X. No midi is involved at this point.The .ini file, defines which midi messages should be sent by that hardware.So they both work together, rather than one of them "winning" :) 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.