Open FearlessNight opened 5 years ago
XPT2046_Touchscreen.h void readData(uint16_t *x, uint16_t *y, uint8_t *z); should probably be... void readData(int16_t *x, int16_t *y, int16_t *z); no big deal, just use getPoint instead.
void readData(uint16_t *x, uint16_t *y, uint8_t *z);
void readData(int16_t *x, int16_t *y, int16_t *z);
For reference, PR #27 was filed to correct the API relating to this issue.
XPT2046_Touchscreen.h
void readData(uint16_t *x, uint16_t *y, uint8_t *z);
should probably be...void readData(int16_t *x, int16_t *y, int16_t *z);
no big deal, just use getPoint instead.