[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 

Disable 'Back to principal menu' and battery icon RSS feed
Forum Index » tcMenu Arduinio library
Author Message
Mistercoenkel


Joined: Jun 30, 2022
Messages: 2
Offline
Hi , sorry for my bad english.

First thanks for this magic library lol.

I would like to know if it is possible to deactivate the return to the main menu?

I wish I could stay on the chosen menu until I didn't go back myself.

----

I would also like to know if someone has an example of icon for battery for 128x64 oled screen

I would like to have the battery icon on the top right like the wifi and connection example.

I tried to generate icons but without success.



Thanks
davetcc


Joined: Jan 19, 2019
Messages: 628
Offline
As of the latest version you can register a menu manager listener. You can then control menu navigation as described here.

https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/menumanager-and-iteration/#listening-for-changes-on-menu-manager

In terms of icons they use the XBMP format by default, you can export from gimp in that format. It basically saves an array of bytes that you’d include in your sketch. You’d then use these with title widget for display in the right corner. There is more on that here:

https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/rendering-with-tcmenu-lcd-tft-oled/

davetcc


Joined: Jan 19, 2019
Messages: 628
Offline
In terms of the XBMP you must make sure if using gimp that the current image is monochrome first. Again there are many guides online for that.
Mistercoenkel


Joined: Jun 30, 2022
Messages: 2
Offline
Thanks for your response
 
Forum Index » tcMenu Arduinio library
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.