lvgl / lvgl_esp32_drivers

Drivers for ESP32 to be used with LVGL
MIT License
305 stars 272 forks source link

ft6206 #196

Closed plutphil closed 2 years ago

plutphil commented 2 years ago

ft6206 capacitive touch controller doesn't work. I have no clue what's wrong. This adafruit library https://github.com/adafruit/Adafruit_FT6206_Library works just fine with arduino. I get this error: E (530) FT6X36: 2Error reading from device: ERROR I (530) FT6X36: Device ID: 0x16 I (540) FT6X36: Chip ID: 0x16 I (550) FT6X36: Device mode: 0x16 I (560) FT6X36: Firmware ID: 0x16 I (570) FT6X36: Release code: 0x16 E (2430) FT6X36: Error getting X coordinates: ESP_FAIL

but also got: i2c timeout and i2c command link malloc error

plutphil commented 2 years ago

got it to work. some registers were different. will make a fork