LCDGFX LCD display driver  1.2.0
Lightweight graphics library for SSD1306, SSD1325, SSD1327, SSD1331, SSD1351, SH1106, SH1107, IL9163, ST7735, ST7789, ILI9341, PCD8544 displays over I2C/SPI
xpt2046.h File Reference

XPT2046 / ADS7843-compatible resistive touch driver. More...

#include "touch.h"
Include dependency graph for xpt2046.h:

Go to the source code of this file.

Classes

class  LcdGfxXpt2046< SpiT >
 Driver for the XPT2046 resistive touch controller (also compatible with ADS7843 / TSC2046 silicon). More...
 

Namespaces

 lcdgfx_xpt2046
 XPT2046 control byte definitions.
 

Variables

constexpr uint8_t lcdgfx_xpt2046::CMD_X = 0xD3
 1 101 0 0 11 - read X (differential, 12-bit)
 
constexpr uint8_t lcdgfx_xpt2046::CMD_Y = 0x93
 1 001 0 0 11 - read Y
 
constexpr uint8_t lcdgfx_xpt2046::CMD_Z1 = 0xB3
 1 011 0 0 11 - read Z1
 
constexpr uint8_t lcdgfx_xpt2046::CMD_Z2 = 0xC3
 1 100 0 0 11 - read Z2
 

Detailed Description

XPT2046 / ADS7843-compatible resistive touch driver.

Definition in file xpt2046.h.