Jump to content

Getting Encoder to Work


VilladonEnt
 Share

Recommended Posts

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  :)

villadon

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...