TcMenu help with Buttons and TFT

I am adding TcMenu to my project. So far it is looking promising. The menu designer app is a huge timesaver.

My project has two modes. A settings mode and a default mode. I need to control the buttons and display in default mode. During setup mode it would be great if I could call into the menu API for menuUp, menuDown, and menuSelect. That way I could get rid of the ioAbstraction class and have full control of my buttons. Similarly with the display, I am happy to hand it over to the menu for settings mode, but would need a handle to it in default mode.

Where are the hooks in the generated code to send button events as well as set or get the display from the menu’s control?

Maybe you should tell us what that is.

It’s a menuing system that supports nesting , callbacks and various displays. GitHub - TcMenu/tcMenu: Menu library for Arduino, mbed and ESP with designer UI and remote control capabilities. It is similar to MD_Menu.

Let me start over...
I have been trying to get TcMenu to run at all on the lilygo amoled esp32. Thus far I can not get anything to show on the screen. I am not sure what I am missing, everything compiles and there are no runtime errors.

Ive been going through the docs and it looks like my need for buttons and sharing the display has been worked into the library.

If there is a minimal platformio example using TcMenu on an Esp32 with TFT, it would be amazing.

I unfortunately can not help you further. No experience with either the TcMenu and I don't have ESP32 based boards.

Thanks for looking!
I am making slow progress. The chip and the library both come with non-trivial examples so mashing them up is a little tricky.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.