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.
Hi Dave,
Thanks for sending the code snippet.
I tried the code snippet but i guess either menuMgr is not responding or i am doing something wrong.
Basically after changing menu item state i need to go back into main menu otherwise the changes don't display.
Kindly have a look at the attachments below.
https://drive.google.com/file/d/1uCWTkDWmbUL0khwaUNkY7hDvVIVP_v5l/view?usp=drivesdk
Hey Guys,
I was trying to do some code to make one or more menu item visible/invisible by pressing the switch of attached encoder for more than 5 seconds.
Any help on how i can achieve the same would be very helpful.
I am stuck with it.
I know that the menu manager needs to be updated of the change by using notifyStructureChanged();
But how do i do that exactly?
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.