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
This example is designed to run on the MaTouch Rotary Display 1.28".
Build the project and flash it to the board, then run monitor tool to view serial output:
Plaintext
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.
To create a project from this example, run:
idf.py create-project-from-example "espp/matouch-rotary-display=0.22.1:example"