Component: Touch Screen (GT911) (Graphical Library): Difference between revisions
Appearance
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| Line 239: | Line 239: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Bus Settings | | width="90%" class="mtx-class-propfolder" | Bus Settings | ||
|- | |- | ||
| Line 268: | Line 268: | ||
| colspan="2" | The device address is set using the INT pin on power up. Low = 0x5D / High = 0x14 | | colspan="2" | The device address is set using the INT pin on power up. Low = 0x5D / High = 0x14 | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Connections | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
| Line 292: | Line 292: | ||
| colspan="2" | Pin used to set the I2C address and check for new touch data. | | colspan="2" | Pin used to set the I2C address and check for new touch data. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Configuration | | width="90%" class="mtx-class-propfolder" | Configuration | ||
|- | |- | ||
| Line 321: | Line 321: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Simulation | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd |
| Version | 2.0 |
| Category | Graphical Library |
Touch Screen (GT911) component
Low level routines for controlling or interacting with the GT911 touch screen controller IC found on a lot of common capacitive touch screen products.
Version information
Library Version, Component Version, Date, Author, Info 6, 1.0, 26-07-24, BR, Removed ghost greay square connection line 7, 1.0, 29-08-24, BR, Fixed a problem where the I2C writes were corrupted 8, 1.0, 29-08-24, BR, Added Orientation support 9, 1.0, 29-08-24, BR, Improved Orientation support
Detailed description
No detailed description exists yet for this component
Examples
Macro reference
Initialise
| Initialise | |
| Activates the SPI peripheral and claims control over the I/O pins. Returns 1 if device found and communicating. | |
| Return | |
ReadCoord
ReadXBytes
| ReadXBytes | |
| Reads the specified number of bytes starting at the specified address | |
| Address | |
| Data | |
| NumBytes | |
| Return | |
SampleSensor
SetOrientation
| SetOrientation | |
| Allows the orientation to be overridden. | |
| Orientation | |
| Range: 0 - 3 | |
| Return | |
WriteXBytes
| WriteXBytes | |
| Writes the specified number of bytes starting at the specified address | |
| Address | |
| Data | |
| NumBytes | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_TouchScreen_GT911.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TouchScreen_GT911.fcfx