Jump to content

encoder problems


fario
 Share

Recommended Posts

Hello

at last I have ended up I all my first mdibox64 v2.4, configuration comes from LCD 4X20, 32 pots, 8 faders, 56 buttons, 56 leds and 4 encoders alps 24 p detented connected in my second din module ( sr8 ).

The encoder work like double push buttons, I need to increment and decrement the value of  a midi CC,( like a pot )

my knowledge of English language is too small and I think that I have not understood how to configure  encoders

I have modified the mios_tables.inc  file ,only the lines like show you get down , the rest of the file is the same as the original

I thank your help.

Apologizing my error when inserting this post at the section latest news

Greetings

MIOS_MPROC_EVENT_TABLE

   ;; entry 0x00-0x0f

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   ;; entry 0x10-0x1f   

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

                     MT_EOT

   MT_EOT

   MT_EOT

   MT_EOT

   MT_ENTRY  0xb0, 0x1b

   MT_ENTRY  0xb0, 0x1c

   MT_ENTRY  0xb0, 0x1d

   MT_ENTRY  0xb0, 0x1e

   MT_ENTRY  0xb0, 0x1f

                 ....................................................

MIOS_ENC_PIN_TABLE

   ;; encoders 1-16

   ;;        SR  Pin  Mode

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

                      ENC_EOT

   ENC_EOT

   ;; encoders 17-32

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

   ENC_EOT

                     ENC_ENTRY  8,  0,  MIOS_ENC_MODE_DETENTED2   ; V-Pot 29

   ENC_ENTRY  8,  2,  MIOS_ENC_MODE_DETENTED2   ; V-Pot 30

   ENC_ENTRY  8,  4,  MIOS_ENC_MODE_DETENTED2   ; V-Pot 31

   ENC_ENTRY  8,  6,  MIOS_ENC_MODE_DETENTED2   ; V-Pot 32

       

Link to comment
Share on other sites

I think it could be a prob with the EOT message. It´s also stated in the .asm file: When MIOS is reading the *first* EOT message, it won´t search anymore for the correct entry. So all your needed entries should fill up the first lines of the table and the rest then should be filled with EOT messages. Not sure about that, but could be... *pushingthumbs*

Link to comment
Share on other sites

the encoder's behavior has changed after modifying the file.

Turning clockwise send data even pins, turning counterclockwise send data odd pins.

That's right?

how configure the events to increment and decrement the value of  CC.

¿It is possible to increase in 2 ,4 ,8 ...each step ?

tanks

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...