-
hi.. been starting to use tcMenu it looks nice. but i have some questions. is there a way to have the the menu appear only by pressing a button (or actualy long pressing a button) another question is using font, i need to use hebrew fonts for the clock but i don't mind using the other fonts for the menu, is there a way to keep switching between the two? i tried using the date config menu option, for some reason it allows have a month as 0 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
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/ You don't mention which displays you're using but to a large extent you can use a few fonts at once as you want with most libraries. Even within the menu you can have some menus using different display properties. Many of the examples cover this usage. If you use TcUnicode, it fully supports UTF8 on most libraries (including Adafruit). Sounds like there could be a bug in the date parser if you can confirm that please raise a bug, but you can also now override the date renderFN using designer UI and provide your own stricter checking. |
Beta Was this translation helpful? Give feedback.
-
That sounds about right, yes, for the custom U8G2 option you just create the variable and initialize it before setupMenu() is called. |
Beta Was this translation helpful? Give feedback.
-
We can't now, there are at least 100s if not 1000s of menus relying on that working how it does.
I don't think that 0 should be allowed in the month or day field, if that is allowed, it is a bug. Even the days in the month should be correct for all gregorian calendars. If you have cases that are clearly wrong, please raise an issue and fully document how to recreate. |
Beta Was this translation helpful? Give feedback.
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…