Getting Encoder to Work

Hello all,

I just received some alps encoders with 24 detent and I’m figuring out how to get them connected.

Here is what I did so far:

  1. Modified the mios_tables.inc > ENC_PIN_TABLE > set encoders 1-16 to MIOS_ENC_MODE_DETENTED2

  2. Modified the setup_midibox64.asm > ENC_PIN_TABLE > set encoders 1-16 to MIOS_ENC_MODE_DETENTED2

  3. Rebuilt the Application (No errors)

  4. Uploaded the main.hex and then the setup_midibox64.HEX using MIOS Studio.

  5. MIOS Rebooted

I tried connecting 1 encoder diffrent ways but it seems that when i turn the encoder it jumps from values 0 to 127 nothing in between.

I also tried setting the encoders to MIOS_ENC_MODE_DETENTED but same prob.

Thanks for your time  :slight_smile:

villadon

Good news: Your enc most probably works out very well!

Most possible: Did you ever look up what´s your controller parameters? I guess it´s sending “Increment/Decrement” messages. If you want it sending 0-127 values in a row, you have to set it to “absolute” behaviour under Enc mode.

Greetz!

Thanks pay c !

I’ll have to check that feature when I get home from work.

That is done in the midibox_64e menu settings correct?

Villadon

Yepp, you can directly do that on the box.

Greets!

Thanks again,

Villadon