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 want to drive your menus with touch screen or mechanical buttons or 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 where you can use either or both:
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 (touch AND/OR mechanical buttons):
[ Ссылка ]
Code and examples for Adafruit_ILI9341 drivers(touch OR mechanical buttons):
[ Ссылка ]
Ещё видео!