Having trouble with sprintf function and string class
Create them as char arrays like this:
const char* menu[2] = {&quot;Menu 1&quot;, &quot;Menu 2&quot;};

and use them like this:
Serial.println(menu[0]);