Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Designer UI » Main display

Author: Petros
05/06/2020 11:41:30
Good Afternoon. I started use your library. it's great solution for my projects. I use it with ESP32.
I have a question. For example I want to have a main display, in which will appear current sensor data. it's a normal state of program. And I want to enter menu after pressing encoder OK button. How can I implement this ???
Thank you in advance

Author: davetcc
06/06/2020 08:54:27
That's fully supported by tcMenu, including handling timeouts to leave the menu back to your own display renderer. The only limitation is that you manage your screen in a game loop style, where you're called frequently and should do any rendering in that loop.

See the takeOverDisplay example shipped with tcMenu that does pretty much what you want.

https://github.com/davetcc/tcMenuLib/tree/master/examples/takeOverDisplay




Register / Login  |  Desktop view  |  Jump to top of page