Skip to content

controlling when menu appears? (some other questions) #328

Answered by emaayan
emaayan asked this question in Q&A
Discussion options

You must be logged in to vote

See taking over the display, it works the opposite way around, but does exactly what you want, you take over the display, and give it back at some point later, you're provided with if the select button has been pressed, and the current encoder value. In fact it is such a popular option it has it's own page::

https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/renderer-take-over-display/

so you're saying i should cal
renderer.takeOverDisplay(myDisplayCallback);
in in the callback have all my code that draws the display include calling the RTC DS3231 api's , as long as i don't see the value for the select button being pressed RPRESS_HELD, when i do see it i need to call ren…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@emaayan
Comment options

@emaayan
Comment options

Answer selected by emaayan
Comment options

You must be logged in to vote
1 reply
@emaayan
Comment options

Comment options

You must be logged in to vote
3 replies
@emaayan
Comment options

@davetcc
Comment options

@emaayan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants