napierzaza Posted May 14, 2008 Report Posted May 14, 2008 Okay, going through all the pin assignments. What the devil is with this:<code> ;; additional CS encoders ;; SR Pin Mode ENC_ENTRY 3, 0, MIOS_ENC_MODE_DETENTED2 ; Osc delay/transpose/assign #1 ENC_ENTRY 3, 2, MIOS_ENC_MODE_DETENTED2 ; Osc attack/finetune/assign #2 ENC_ENTRY 3, 4, MIOS_ENC_MODE_DETENTED2 ; Osc decay/portamento/assign #3 ENC_ENTRY 3, 6, MIOS_ENC_MODE_DETENTED2 ; Osc sustain/release/assign #4 ENC_ENTRY 3, 8, MIOS_ENC_MODE_DETENTED2 ; Osc release/pulsewidth/assign #5</code>It says that there is a 8th pin for that SR? Looking at it I believe that it's showing only even because encoders take two pins to function. So I think this ASM is implying that this is a 10 pin encoder. It says there are only 8 pins though... correct? Quote
TK. Posted May 14, 2008 Report Posted May 14, 2008 Interesting, this is a definition error in the encoder table, because the "OSC Release" encoder should be assigned to SR4, Pin 0 (and 1)Due to some magic 3,8 leads to the same assignment as 4,0(ok, replace "magic" by "sr*8 + pin" ;-))I changed the source code to:[tt]ENC_ENTRY 4, 0, MIOS_ENC_MODE_DETENTED2 ; Osc release/pulsewidth/assign #5[/tt]Best Regards, Thorsten. Quote
nILS Posted May 14, 2008 Report Posted May 14, 2008 I always thought this was intentional and meant to be a joke - seriously :) Quote
TK. Posted May 14, 2008 Report Posted May 14, 2008 Apparently I don't understand my own jokes anymore ;)Best Regards, Thorsten. Quote
napierzaza Posted May 15, 2008 Author Report Posted May 15, 2008 I guess it makes me lame for thinking this might be a bug! Quote
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.