ArduinoMenu
ArduinoMenu copied to clipboard
Display the integer or char string
I want to display an integer in the menu maybe with FIELD. But I don't want to make it editable. Let say if there is a process that shows its status with percentage complete(i.e 80%, 90%). How can I do that ?
Define your FIELD
as usual, and just disable it in your setup()
function.
void setup()
{
...
// use index of your FIELD menu entry
// e.g. in this case, the FIELD menu entry is at 4th position in the menu, so you must use index 3
mainMenu[3].disable();
}