Folgendes in der setup_xxxx.asm ändern:
;; number of visible menu items on LCD
;; use: 4 for 2x16 displays
;; 5 for 2x20 displays
;; 10 for 2x40 displays
#define CS_MENU_DISPLAYED_ITEMS 10
;; NOTE: if CS_MENU_DISPLAYED_ITEMS > 5, you have to adapt the DIN settings
;; in CS_MENU_DIN_TABLE below
.
.
.
CS_MENU_DIN_TABLE
;; Function name SR# Pin#
DIN_ENTRY CS_MENU_BUTTON_Dec, 1, 0 ; only valid if rotary encoder not assigned to these pins
DIN_ENTRY CS_MENU_BUTTON_Inc, 1, 1 ; (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, 7 ; define this if CS_MENU_DISPLAYED_ITEMS > 5
Die Werte für Inputs (#SR und #PIN) dann noch anpassen.