44. Touch Panel

44.1. Overview

The touch_panel example shows touch panel function.

44.2. Board Setting

Connect touch panel to LCD interface on board

44.3. Running the example

When the example runs successfully, touch the panel. The following message will be displayed in the terminal:

touch example
0x14 failed to init GT911, try 0x5d
[0]: x: 29, y: 10
[0]: x: 29, y: 10
[0]: x: 29, y: 10
[0]: x: 29, y: 37
[0]: x: 29, y: 44
[0]: x: 26, y: 94
[0]: x: 25, y: 148
[0]: x: 24, y: 178
[0]: x: 27, y: 239