Jump to content

Understanding Shift Registers


VilladonEnt
 Share

Recommended Posts

Hello All,

I've been looking around the forum for some answers but I can't find a straight forword example on Shift Registers.

What I'm looking to do is assign 2 encoders to J5 of the din and 4 buttons to J7 of the same Din.

I've played around with mios_tables_inc but can not get both working.

here is what i changed:

;;        SR  Pin  Mode

ENC_ENTRY  2,  0,  MIOS_ENC_MODE_DETENTED2    ; V-Pot 1

ENC_ENTRY  2,  2,  MIOS_ENC_MODE_DETENTED2    ; V-Pot 2

ENC_ENTRY  2,  4,  MIOS_ENC_MODE_DETENTED2    ; V-Pot 3

ENC_ENTRY  2,  6,  MIOS_ENC_MODE_DETENTED2    ; V-Pot 4

left the rest as ENC_EOT

Is J5/J6 SR2? , J7/J8 SR3? , J9/J10 SR4?

Thanks,

Villadon

Link to comment
Share on other sites

hi,

take a look at the schematic; j5/j6 is SR2, j7/j8 is SR3

you want to assign 2 encoders to J5 (J5 in the schematic)

  ENC_ENTRY  2,  4,  MIOS_ENC_MODE_DETENTED2    ; V-Pot 1

  ENC_ENTRY  2,  6,  MIOS_ENC_MODE_DETENTED2    ; V-Pot 2

the 4 buttons on J7 should be on

SR3, pin 4

SR3, pin 5

SR3, pin 6

SR3, pin 7

cheers

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