TinyGPU
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
TouchDriverArduino.h File Reference

Concrete touch-controller drivers (XPT2046, FT6236/FT6206, CST816S, GT911, and the controller-less TouchDriverBitBang) built on the Arduino SPIClass/TwoWire/pinMode/analogRead API - split out of TouchDriver.h so that including the platform-independent TouchDriver base class/calibration/coordinate-mapping code doesn't also pull in Arduino.h. Include this file explicitly to use any of these drivers. More...

#include "TinyGPU/Emulation.h"
#include "TinyGPU/Input/TouchDriverCommon.h"
Include dependency graph for TouchDriverArduino.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TouchDriverXPT2046
 XPT2046 resistive touch controller. More...
 
class  TouchDriverBitBang
 Bit-banged 4-wire resistive touch panel driver. More...
 
class  TouchDriverFT6236
 FT6236 / FT6336 capacitive touch controller. More...
 
class  TouchDriverCST816S
 CST816S capacitive touch controller. More...
 
class  TouchDriverGT911
 GT911 capacitive touch controller. More...
 

Namespaces

namespace  tinygpu
 

Typedefs

using TouchDriverFT6206 = TouchDriverFT6236
 The FT6206 is a drop-in replacement for the FT6236, so we can alias it here.
 

Detailed Description

Concrete touch-controller drivers (XPT2046, FT6236/FT6206, CST816S, GT911, and the controller-less TouchDriverBitBang) built on the Arduino SPIClass/TwoWire/pinMode/analogRead API - split out of TouchDriver.h so that including the platform-independent TouchDriver base class/calibration/coordinate-mapping code doesn't also pull in Arduino.h. Include this file explicitly to use any of these drivers.

Pulls in Arduino.h/SPI.h/Wire.h via TinyGPU/Emulation.h, which falls back to a small platform-native emulation of that surface when no real Arduino core (e.g. arduino-esp32) is present - see that header for what is and isn't covered.