PaulStoffregen / XPT2046_Touchscreen

Touchscreen Arduino Library for XPT2046 Touch Controller Chip
240 stars 84 forks source link

readData function clips Z #22

Open FearlessNight opened 5 years ago

FearlessNight commented 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.

ImpulseAdventure commented 4 years ago

For reference, PR #27 was filed to correct the API relating to this issue.