ArduinoMenu icon indicating copy to clipboard operation
ArduinoMenu copied to clipboard

Status Bar

Open hicksan opened this issue 3 years ago • 4 comments

Is there an easy way to pre-allocate one row of the display as not part of the menu window - ie under direct user control? I would like to include a status bar with info from other parts of my system updating to the screen (eg time and other data from sensors). Effectively overwriting the bottom row of the menu and triggering a screen refresh when data updates (except when a menu field value is being edited, or that would be lost) but is there a more efficient way to do it?

hicksan avatar Sep 13 '22 12:09 hicksan

panel (on the output definition) allow one to specify the area of output to be used, still you would be responsible to update a status bar on the free area.

neu-rah avatar Sep 15 '22 20:09 neu-rah

Thanks Rui. That's great. Can you point me towards an example please?

hicksan avatar Sep 15 '22 20:09 hicksan

from the wiki https://github.com/neu-rah/ArduinoMenu/wiki/Output#panel

neu-rah avatar Sep 15 '22 20:09 neu-rah

Thank you for this. An actual "panels.ino" example would really help, to show how 2 panels can be used with a basic menu in one and some text in the other - like a time counter or something - but I will try to start with this. At least it means my problem has a solution without changing the system, so that's very good. Thanks.

hicksan avatar Sep 15 '22 21:09 hicksan