Still having problems with DIN pin assignments..

Iv been searching around the forums , trying to find out if theres an easy way to remap the DIN pins. for a mb64e (which pins are encoders, buttons, or meta events)..

is there a way to do this in the mb64e editor, or do i have to recompile the code?

it just seems like im missing something really basic..

thanks in advance

Hi,

remapping has to be done in main.asm and mios_tables.inc

Thereafter recompile the code as described here: http://www.ucapps.de/howto_tools_mpasm.html

Best Regards, Thorsten.

Thanks for the help previously… it was easier to edit, and recompile than i remember.

(Im building a cubase controller with 2 cores, one 64, and one 64e… the 64e is the one giving me problems.)

but, im still having problems with a few of the DIN inputs… some just seem to be dead, or unused.

I would like to keep the menu keys, but get rid of all the other special function keys that are set by

default. I make some changes in main.asm (set some options to “0”) but it didnt seem to make a difference.

I have assigned 36 encoders and 50 buttons. I am using 4 din modules, but the last 4 encoders dont seem to function.  I will have to paste the code edits from home.

thanks in advance for any advice./

Hi,

for 36 encoders, you probably have to set the DEFAULT_ENCODER_GROUP_WIDTH setting to 64, as this is the next 2^n value after 32

Best Regards, Thorsten.

thanks for the prompt response…

I do believe i did chance it to 64

here is a link to a copy of my main.asm  and mios_tables.inc

http://www.dimmworks.com/diy/main.asm

http://www.dimmworks.com/diy/mios_tables.inc

thanks for all your help… you rock..

I merged these threads for clarity, this is not a help desk…In other words it’s much harder to help when the same issues are spread across multiple posts.

Best Regards

SmashTV

I think that the last encoder assignments won’t work this way:

;; encoders 33-48
ENC_ENTRY  13,  0,  MIOS_ENC_MODE_NON_DETENTED	; V-Pot 33
ENC_ENTRY  13,  2,  MIOS_ENC_MODE_NON_DETENTED	; V-Pot 34
ENC_ENTRY  13,  4,  MIOS_ENC_MODE_NON_DETENTED	; V-Pot 35
ENC_ENTRY  13,  6,  MIOS_ENC_MODE_NON_DETENTED	; V-Pot 36
ENC_ENTRY  13,  4,  MIOS_ENC_MODE_NON_DETENTED	; V-Pot 37
ENC_ENTRY  13,  6,  MIOS_ENC_MODE_NON_DETENTED	; V-Pot 38
[/code]









It isn't explicitely mentioned, but double-assignments are not allowed.



Instead, you have to assign the last two encoders to individual pin groups, e.g. 14,0 (for SR14, pin 0 and 1) and 14,2 (for SR14, pin 2 and 3)







Best Regards, Thorsten.