[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Main display RSS feed
Forum Index » tcMenu Designer UI
Author Message
Petros


Joined: Jun 5, 2020
Messages: 1
Offline
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
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
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
 
Forum Index » tcMenu Designer UI
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.