lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.19k stars 209 forks source link

Freeze using tft.getTouch(...) with a FT5x06 I2C capacitive touch screen #545

Closed paxo-project closed 6 months ago

paxo-project commented 8 months ago

I'm using capacitive touch screen (i2C) with Touch_FT5x06, and after a certain time, it freeze:

[146279][V][common.cpp:1371] readBytes(): [LGFX] i2c read error : ack wait
[192011][W][common.cpp:1402] readBytes(): [LGFX] i2c read error : read timeout

Environment ( 実行環境 )

Problem Description ( 問題の内容 )

Freeze when using

lcd->getTouch(&tx, &ty);

It doen't seems to be a deep problem, but if you need more details ask me.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 6 months ago

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

tobozo commented 6 months ago

bump

some changes were applied to the FT5x06 driver on the develop branch, I'm not sure it will address the bus issues you're experiencing (could be caused by another device on the same bus) but it's worth a shot; feel free to reopen the issue if it didn't solve it