Just think about it: do you think that I would ever throw away my existing MIDIbox SEQ frontpanel?
Apparently, it’s an optional feature, and I for myself will built this into a seperate 19" rack case.
The sequencer works nice without the Button/Duo-LED matrix - it’s just one of many features 
The schematic is a mix of the button and historic single-colour LED matrix, I will publish it once I find the time to draw the connections.
Here some additional infos from the ChangeLog:
[tt]
o overworked LED matrix, implemented button matrix
There are several configurations possible, here the tested ones:
a) historic 4x16 LED matrix which replaces the 1x16 GP LED row
Required settings in main.asm (or alternatively setup_*.asm) - search for the values and change the numbers:
#define DEFAULT_SRM_ENABLED 1 ; enable the LED matrix
#define DEFAULT_SRM_DOUT_L1 3 ; DOUT register of the left side (8 LEDs)
#define DEFAULT_SRM_DOUT_R1 4 ; DOUT register of the right side (8 LEDs)
#define DEFAULT_SRM_DOUT_CATHODES1 5 ; DOUT register which controls the LED cathodes - 4 pins used
#define DEFAULT_SRM_DOUT_CATHODES1 6 ; can be optionally selected if LEDs with high power consumption are used
#define DEFAULT_SRM_DOUT_DUOCOLOUR 0 ; no DUO colour LEDs
#define DEFAULT_SRM_DOUT_L2 0 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_DOUT_R2 0 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_BUTTONS_ENABLED 0 ; no button matrix
#define DEFAULT_SRM_BUTTONS_NO_UI 0 ; only relevant for button matrix
#define DEFAULT_SRM_DIN_L 0 ; only relevant for button matrix
#define DEFAULT_SRM_DIN_R 0 ; only relevant for button matrix
Note: compared to the old schematic, the cathodes are now mirrored!
This means that you have to change the wiring on your existing hardware
Upper Row: DOUT pin D7
second Row: DOUT pin D6
third Row: DOUT pin D5
fourth Row: DOUT pin D4
b) 16 “GP LEDs” + 4x16 seperate LED matrix
recommented solution, since this allows the firmware to display menu parameters seperately below the LCDs
Required settings in main.asm (or alternatively setup_*.asm) - search for the values and change the numbers:
#define DEFAULT_SRM_ENABLED 1 ; enable the LED matrix
#define DEFAULT_SRM_DOUT_L1 6 ; DOUT register of the left side (8 LEDs)
#define DEFAULT_SRM_DOUT_R1 9 ; DOUT register of the right side (8 LEDs)
#define DEFAULT_SRM_DOUT_CATHODES1 5 ; DOUT register which controls the LED cathodes - 4 pins used
#define DEFAULT_SRM_DOUT_CATHODES1 6 ; can be optionally selected if LEDs with high power consumption are used
#define DEFAULT_SRM_DOUT_DUOCOLOUR 0 ; no DUO colour LEDs
#define DEFAULT_SRM_DOUT_L2 0 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_DOUT_R2 0 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_BUTTONS_ENABLED 0 ; no button matrix
#define DEFAULT_SRM_BUTTONS_NO_UI 0 ; only relevant for button matrix
#define DEFAULT_SRM_DIN_L 0 ; only relevant for button matrix
#define DEFAULT_SRM_DIN_R 0 ; only relevant for button matrix
c) 16 “GP LEDs” + 4x16 seperate DUO LED matrix
recommented solution, since this allows the firmware to display menu parameters seperately below the LCDs
Required settings in main.asm (or alternatively setup_*.asm) - search for the values and change the numbers:
#define DEFAULT_SRM_ENABLED 1 ; enable the LED matrix
#define DEFAULT_SRM_DOUT_L1 6 ; DOUT register of the left side (8 LEDs)
#define DEFAULT_SRM_DOUT_R1 9 ; DOUT register of the right side (8 LEDs)
#define DEFAULT_SRM_DOUT_CATHODES1 5 ; DOUT register which controls the LED cathodes - 4 pins used
#define DEFAULT_SRM_DOUT_CATHODES1 6 ; SHOULD be selected with DUO LEDs (high power consumption)
#define DEFAULT_SRM_DOUT_DUOCOLOUR 1 ; DUO colour LEDs
#define DEFAULT_SRM_DOUT_L2 7 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_DOUT_R2 10 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_BUTTONS_ENABLED 0 ; no button matrix
#define DEFAULT_SRM_BUTTONS_NO_UI 0 ; only relevant for button matrix
#define DEFAULT_SRM_DIN_L 0 ; only relevant for button matrix
#define DEFAULT_SRM_DIN_R 0 ; only relevant for button matrix
d) 16 “GP LEDs” + 4x16 seperate DUO LED matrix + 4x16 seperate button matrix
recommented solution, since this allows the firmware to display menu parameters seperately below the LCDs
The 4x16 additional buttons should only control the step gates (and other assigned triggers)
Required settings in main.asm (or alternatively setup_*.asm) - search for the values and change the numbers:
#define DEFAULT_SRM_ENABLED 1 ; enable the LED matrix
#define DEFAULT_SRM_DOUT_L1 6 ; DOUT register of the left side (8 LEDs)
#define DEFAULT_SRM_DOUT_R1 9 ; DOUT register of the right side (8 LEDs)
#define DEFAULT_SRM_DOUT_CATHODES1 5 ; DOUT register which controls the LED cathodes - 4 pins used
#define DEFAULT_SRM_DOUT_CATHODES1 6 ; SHOULD be selected with DUO LEDs (high power consumption)
#define DEFAULT_SRM_DOUT_DUOCOLOUR 1 ; DUO colour LEDs
#define DEFAULT_SRM_DOUT_L2 7 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_DOUT_R2 10 ; only relevant for DUO colour LEDs
#define DEFAULT_SRM_BUTTONS_ENABLED 1 ; using button matrix
#define DEFAULT_SRM_BUTTONS_NO_UI 1 ; only control gates (and other assigned triggers) with these buttons
#define DEFAULT_SRM_DIN_L 11 ; DIN register of the left side
#define DEFAULT_SRM_DIN_R 12 ; DIN register of the right side
o there are now 4 additional buttons and LEDs for selecting the
track group (G1=track 1-4, G2=track 5-8, G3=track 9-12, G4=track 13-16)
The pin assignments are made in mios_tables.inc (or within the setup_*.asm file)
[/tt]
Best Regards, Thorsten.
P.S.: thanks for your nice feedback! 