The example demonstrates how to develop built-in or custom development boards using the ESP_Panel
driver and tests by displaying color bars and printing touch point coordinates.
Follow the steps below to configure:
-
For ESP32_Display_Panel:
-
Navigate to the
Tools
menu in the Arduino IDE to choose a ESP board and configure its parameters. For supported boards, please refter to Configuring Supported Development Boards -
Verify and upload the example to your ESP board.
...
Panel test example start
Initialize display panel
Turn off the backlight
Draw color bar from top to bottom, the order is B - G - R
Turn on the backlight
Panel test example end
Touch point(0): x 141, y 168, strength 47
Touch point(1): x 165, y 288, strength 45
Touch point(2): x 258, y 343, strength 33
Touch point(3): x 371, y 317, strength 24
...
Please check the FAQ first to see if the same question exists. If not, please create a Github issue. We will get back to you as soon as possible.