|
|
@ -31,15 +31,16 @@ extern LiquidCrystal_I2C lcd; |
|
|
|
|
|
|
|
|
|
|
|
LiquidMenu menu(lcd); |
|
|
|
LiquidMenu menu(lcd); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const char text1[] PROGMEM = "MicroMDAEPiano"; |
|
|
|
|
|
|
|
const char text2[] PROGMEM = "(c)parasiTstudio"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//const char text1[] PROGMEM = "";
|
|
|
|
|
|
|
|
|
|
|
|
// Welcome screen
|
|
|
|
// Welcome screen
|
|
|
|
LiquidLine welcome_line1(1, 0, "MicroMDAEPiano"); |
|
|
|
LiquidLine welcome_line1(1, 0, text1); |
|
|
|
LiquidLine welcome_line2(0, 1, "(c)parasiTstudio"); |
|
|
|
LiquidLine welcome_line2(0, 1, text2); |
|
|
|
LiquidScreen welcome_screen(welcome_line1, welcome_line2); |
|
|
|
LiquidScreen welcome_screen(welcome_line1, welcome_line2); |
|
|
|
|
|
|
|
|
|
|
|
// Welcome screen
|
|
|
|
|
|
|
|
LiquidLine main_line1(0, 0, "Volume:"); |
|
|
|
|
|
|
|
LiquidLine main_line2(0, 1, "Voice"); |
|
|
|
|
|
|
|
LiquidScreen main_screen(main_line1, main_line2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void menu_init(void) |
|
|
|
void menu_init(void) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -51,7 +52,6 @@ void menu_init(void) |
|
|
|
lcd.noAutoscroll(); |
|
|
|
lcd.noAutoscroll(); |
|
|
|
|
|
|
|
|
|
|
|
menu.add_screen(welcome_screen); |
|
|
|
menu.add_screen(welcome_screen); |
|
|
|
menu.add_screen(main_screen); |
|
|
|
|
|
|
|
menu.update(); |
|
|
|
menu.update(); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|