Difference between revisions of "Component: Touch Screen (GT911) (Graphical Library)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 2.0 |- | width="20%" style="color:gray...") |
|||
| Line 50: | Line 50: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
Revision as of 10:26, 20 October 2023
| Author | Matrix Ltd |
| Version | 2.0 |
| Category | Graphical Library |
Contents
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.
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
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
WriteXBytes
| WriteXBytes | |
| Writes the specified number of bytes starting at the specified address | |
| Address | |
| Data | |
| NumBytes | |
| Return | |