Menu library for Touch and mechanical controls - ILI9341 displays
Kris Kasprzak Kris Kasprzak
19.8K subscribers
7,243 views
0

 Published On Jan 11, 2022

If you have a Teensy project that uses TFT displays with the either the ILI9341_t3 or the Adafruit_ILI9341 drivers, you may need some menu code. If you have a touch screen or mechanical input to control menus such as buttons or rotary encoders, this is the perfect library for you. This FREE code library will simplify creating and implementing a menu systems for microcontrollers and TFT displays such as the Teensy and ILI9341_t3 library or ESP32 and the Adafruit_9341 driver. This library includes two menu objects:

1. A simple selection menu (ItemMenu) where the user can scroll up/down and select an item and some programmer defined action can be performed such as drawing a screen or activating a sub menu
2. A menu with in-line menu (EditMenu) where the user can scroll up/down the list and select an item however the difference is that move/up down on a selected item will scroll the values stored with that menu item and NOT scroll the list, selecting a selected item will restore control to moving up/down the menu list

Code and examples for ILI9341_t3 drivers (supports touch AND/OR mechanical buttons):
https://github.com/KrisKasprzak/ILI93...

Code and examples for Adafruit_ILI9341 drivers (supports touch OR mechanical buttons):
https://github.com/KrisKasprzak/Adafr...

show more

Share/Embed