fix: touch and update constants

This commit is contained in:
2021-11-17 17:23:31 +01:00
parent 87899316b1
commit d33566ad16
6 changed files with 35 additions and 38 deletions

View File

@@ -56,7 +56,7 @@ public:
class FT6206 {
public:
FT6206(void);
bool begin(uint16_t width, uint16_t height, bool flip = false, uint8_t thresh = FT62XX_DEFAULT_THRESHOLD);
bool begin(uint8_t sda, uint8_t scl, uint16_t width, uint16_t height, bool flip = false, uint8_t thresh = FT62XX_DEFAULT_THRESHOLD);
uint8_t touched(void);
TS_Point getPoint(uint8_t n = 0);