Ok, now I get a few other errors
Code: Select all
In file included from menus.cpp:17:
menus.cpp: In function 'void menuProcModelIndex(uint8_t)':
en.h:231:28: error: unable to find string literal operator 'operator""STR_THR_REVERSE' with 'const char [55]', 'unsigned int' arguments
#define STR_T_EXPO "T-Expo-Dr"
^~~~~~~~~~~
er9x.h:162:69: note: in definition of macro 'PSTR'
#define PSTR(s) (__extension__({const static prog_char APM __c[] = (s);&__c[0];}))
^
en.h:274:119: note: in expansion of macro 'STR_T_EXPO'
#define STR_VOL_PAGE STR_E_LIMITS"\037""Thr. Default\037"STR_THR_REVERSE"\037""Throttle Open""\037"STR_T_TRIM"\037"STR_T_EXPO
^~~~~~~~~~
menus.cpp:11643:34: note: in expansion of macro 'STR_VOL_PAGE'
lcd_puts_Pleft( y, PSTR(STR_VOL_PAGE));
^~~~~~~~~~~~
en.h:238:97: error: inconsistent user-defined literal suffixes 'STR_TRIM_SWITCH' and 'STR_BEEP_CENTRE' in string literal
#define STR_TRIM_PAGE STR_TRIM_INC"\037"STR_TRIM_SWITCH"\037Hi.Res Slow/Delay\037"STR_TRAINER"\037"STR_BEEP_CENTRE
^~~~~~~~~~~~~~~~~~~~~
er9x.h:162:69: note: in definition of macro 'PSTR'
#define PSTR(s) (__extension__({const static prog_char APM __c[] = (s);&__c[0];}))
^
menus.cpp:11696:34: note: in expansion of macro 'STR_TRIM_PAGE'
lcd_puts_Pleft( y, PSTR(STR_TRIM_PAGE));
^~~~~~~~~~~~~
en.h:238:97: error: unable to find string literal operator 'operator""STR_TRIM_SWITCH' with 'const char [37]', 'unsigned int' arguments
#define STR_TRIM_PAGE STR_TRIM_INC"\037"STR_TRIM_SWITCH"\037Hi.Res Slow/Delay\037"STR_TRAINER"\037"STR_BEEP_CENTRE
Just to confirm that my wiring for flybabos custom hex is not wrong: I need to connect the display (standard Zolen) in the following order, right?
PC5 -> SI (DB7)
PC4 -> SCL (DB6)
PC3 -> A0
PC2 -> RES
PC1 -> CS
and obviously GND and VCC
Could you compile a standard 128-version with serial LCD enabled?
That would fix the problem for me