I know I have to be missing something simple here. I just got my single SID MB up and running and decided to start in on a control surface (and second SID). Decided to dive in feet first and tackle the mod matrix as the first step of the CS.
But at this point I’m only running one DIN and one DOUT so I had to do some reassignments. I’m already running a 2x40 LCD and managed to figure out how to remap the DIN’s so I could have 10 selection buttons.
I also managed to get this Matrix LED’s displaying properly off the last two SR’s on the single DOUT board I’m running (SR 2 for anodes and 3 for cathodes)
But now I’m trying to get the Matrix selection buttons to work off the last two SR’s on the single DIN I have so far…and they work…but they aren’t doing what they’re supposed to. I figured it must be because it was still configured for rotary encoders and I modifed mios_tables and set all the encoders (except my menu wheel) to SR 0 Pin 0:
MIOS_ENC_PIN_TABLE
;; encoders 1-16
;; SR Pin Mode
#if CS_MENU_USE_INCDEC_BUTTONS
ENC_EOT
#else
ENC_ENTRY 1, 0, MIOS_ENC_MODE_DETENTED2 ; menu encoder
#endif
;; additional CS encoders
;; SR Pin Mode
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc delay/transpose/assign #1
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc attack/finetune/assign #2
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc decay/portamento/assign #3
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc sustain/release/assign #4
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Osc release/pulsewidth/assign #5
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; LFO rate
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; LFO depth
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Filter CutOff
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Filter Resonance
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env depth/assign #1
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env attack/assign #2
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env decay/assign #3
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env sustain/assign #4
ENC_ENTRY 0, 0, MIOS_ENC_MODE_DETENTED2 ; Env release/assign #5
ENC_EOT
Here’s what I have in my menu_cs_io_tables for the DIN_TABLE:
CS_MENU_DIN_TABLE
;; Function name SR# Pin#
DIN_ENTRY CS_MENU_BUTTON_Dec, 1, 1 ; only valid if rotary encoder not assigned to these pins
DIN_ENTRY CS_MENU_BUTTON_Inc, 1, 0 ; (see mios_tables.inc) and CS_MENU_USE_INCDEC_BUTTONS == 1
DIN_ENTRY CS_MENU_BUTTON_Exec, 1, 2
DIN_ENTRY CS_MENU_BUTTON_Sel1, 1, 7
DIN_ENTRY CS_MENU_BUTTON_Sel2, 1, 6
DIN_ENTRY CS_MENU_BUTTON_Sel3, 1, 5
DIN_ENTRY CS_MENU_BUTTON_Sel4, 1, 4
DIN_ENTRY CS_MENU_BUTTON_Sel5, 1, 3
DIN_ENTRY CS_MENU_BUTTON_Sel6, 2, 0 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
DIN_ENTRY CS_MENU_BUTTON_Sel7, 2, 1 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
DIN_ENTRY CS_MENU_BUTTON_Sel8, 2, 2 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
DIN_ENTRY CS_MENU_BUTTON_Sel9, 2, 3 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
DIN_ENTRY CS_MENU_BUTTON_Sel10, 2, 4 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
DIN_ENTRY CS_MENU_BUTTON_SID1, 0, 0
DIN_ENTRY CS_MENU_BUTTON_SID2, 0, 0
DIN_ENTRY CS_MENU_BUTTON_SID3, 0, 0
DIN_ENTRY CS_MENU_BUTTON_SID4, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Link, 0, 0
DIN_ENTRY CS_MENU_BUTTON_CC, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Edit, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_Ctrl, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_Wav, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_RS, 0, 0
DIN_ENTRY CS_MENU_BUTTON_LFO_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_LFO_Wav, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Env_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Env_Ctrl, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Fil_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Fil_Mod, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O1Ptch, 3, 0
DIN_ENTRY CS_MENU_BUTTON_M_O2Ptch, 3, 1
DIN_ENTRY CS_MENU_BUTTON_M_O3Ptch, 3, 2
DIN_ENTRY CS_MENU_BUTTON_M_O1PW, 3, 3
DIN_ENTRY CS_MENU_BUTTON_M_O2PW, 3, 4
DIN_ENTRY CS_MENU_BUTTON_M_O3PW, 3, 5
DIN_ENTRY CS_MENU_BUTTON_M_Filter, 3, 6
DIN_ENTRY CS_MENU_BUTTON_M_E1, 4, 0
DIN_ENTRY CS_MENU_BUTTON_M_E2, 4, 1
DIN_ENTRY CS_MENU_BUTTON_M_L1, 4, 2
DIN_ENTRY CS_MENU_BUTTON_M_L2, 4, 3
DIN_ENTRY CS_MENU_BUTTON_M_L3, 4, 4
DIN_ENTRY CS_MENU_BUTTON_M_L4, 4, 5
DIN_ENTRY CS_MENU_BUTTON_M_L5, 4, 6
DIN_ENTRY CS_MENU_BUTTON_M_L6, 4, 7
DIN_ENTRY_EOT
But still even after recompiling, converting and uploading the new code my buttons are acting like they’re still mapped to the encoder functions. What am I missing?