GUIslice  0.16.0
Embedded GUI in C
TouchHandler_XPT2046 Class Reference

#include <GUIslice_th_XPT2046.h>

Inheritance diagram for TouchHandler_XPT2046:
Collaboration diagram for TouchHandler_XPT2046:

Public Member Functions

 TouchHandler_XPT2046 (SPIClass &spi, uint8_t spi_cs_pin)
 
void begin (void)
 
THPoint getPoint (void)
 
- Public Member Functions inherited from TouchHandler
 TouchHandler ()
 
void setSize (uint16_t _disp_xSize, uint16_t _disp_ySize)
 
void setCalibration (uint16_t ts_xMin, uint16_t ts_xMax, uint16_t ts_yMin, uint16_t ts_yMax)
 
void setSwapFlip (bool _swapXY, bool _flipX, bool _flipY)
 
THPoint scale (THPoint pIn)
 

Data Fields

SPIClass spi
 
XPT2046_touch touchDriver
 

Constructor & Destructor Documentation

TouchHandler_XPT2046::TouchHandler_XPT2046 ( SPIClass &  spi,
uint8_t  spi_cs_pin 
)
inline

Member Function Documentation

void TouchHandler_XPT2046::begin ( void  )
inlinevirtual

Reimplemented from TouchHandler.

THPoint TouchHandler_XPT2046::getPoint ( void  )
inlinevirtual

Reimplemented from TouchHandler.

Field Documentation

SPIClass TouchHandler_XPT2046::spi
XPT2046_touch TouchHandler_XPT2046::touchDriver

The documentation for this class was generated from the following file: