Jump to content

Recommended Posts

Posted

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?

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...