weixin_52344196 2023-12-11 21:30 采纳率: 62.5%
浏览 38
已结题

ILI9341的TFT屏触摸不准确

tft.begin();          /* TFT init */
tft.setRotation( 3 ); /* Landscape orientation, flipped */

/*Set the touchscreen calibration data,
 the actual data for your display can be acquired using
 the Generic -> Touch_calibrate example from the TFT_eSPI library*/
uint16_t calData[5] = { 404, 3451, 347, 3414, 1 };
tft.setTouch( calData );

TFT屏芯片是ILI9341,然后用arduino自带的tft_esp库校准了,并且校准完后的测试界面是正常的
然后用上面的lvgl的代码的时候,发现只有四个角的位置能够正确触碰,其他位置的触摸偏移到了右上角,搞不清楚是为什么

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 12月19日
    • 创建了问题 12月11日