Matouch-Rotary-Display Example
This example shows how to use the espp::MatouchRotaryDisplay
hardware
abstraction component initialize the components on the MaTouch Rotary Display.
It initializes the touch, display, and t-keyboard subsystems. It reads the touchpad state and each time you touch the screen it uses LVGL to draw a circle where you touch. If you press the home button on the display, it will clear the circles.
https://github.com/esp-cpp/espp/assets/213467/4d88dd97-b23a-49d0-b6a2-2ee3b50a8f62
How to use example
Hardware Required
This example is designed to run on the MaTouch Rotary Display 1.28”.
Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output:
idf.py -p PORT flash monitor
(Replace PORT with the name of the serial port to use.)
(To exit the serial monitor, type Ctrl-]
.)
See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.