Menu for Display

Ciao Oliver, firstable really thanks for your help :slight_smile: because otherwise will be no possibility to use the library without your help :slight_smile:
so right now I'm in this situation I post only "loop" in order that you can have more clear it.

void loop() {       
  Alarm.delay(0);
 if ( m2.getRoot() == &m2_null_element ) 
  {
    digitalWrite(13, HIGH);
    // yes, it is our manual written screen
    // place your manual commands here
    lcd.setCursor(1, 2);
    lcd.print("*Home Sweet Home*");
    digitalClockDisplay();
    // check if the user has pressed a key while manual screen is active
   uint8_t key = m2.getKey();

   if ( key != M2_KEY_NONE )
    {
      if (key == M2_KEY_HOME2) 
     {
          digitalWrite(13, LOW);
          m2.setRoot(&el_num_menu);   // refer to a suitable menu
     }
     else
      {
          digitalWrite(13, LOW);
          m2.setRoot(&top_el_expandable_menu);   // refer to a suitable menu
      }  
   }
   
  }
  // do normal menu display  
  m2.checkKey();
  if ( m2.handleKey() ) {
    m2.draw();
  }
}

in this code I would like that "Welcome Menu" still to be display on the LCD and If didn't use button that has been configured, I can run other command via keypad for example this:

char customKey = customKeypad.getKey();
  if (customKey){
    Serial.println(customKey);
  }

Could you give an example code in order to understand better ? from teorically stand point I've understood :wink:

Thanks
Gnux