Hi
I use eve2-35a tpr as my school project. Its touch and display work well.
But in my project, mcu often resets. So I do calibration every time. I want to apply calibration only once and use the touch function, so I wonder what I can do. Can't I use it as a way to store calibration information in flash memory?
use touch without calibrate
Moderator: Mods
Re: use touch without calibrate
Sure, calibrate, write down the values and put them in the source as constants.
This often even works well enough across different displays of the same type.
My basic example does that:
https://github.com/RudolphRiedel/FT800- ... e_projects
https://github.com/RudolphRiedel/FT800- ... rc/tft.cpp
The touch_calibrate() function has a number of calibration sets that are used depending on which display is used.
And there is a calibration function in line 251ff that can be activated and displays the values on the screen after calibration.
I recommend using a stylus while calibrating for precision.
This often even works well enough across different displays of the same type.
My basic example does that:
https://github.com/RudolphRiedel/FT800- ... e_projects
https://github.com/RudolphRiedel/FT800- ... rc/tft.cpp
The touch_calibrate() function has a number of calibration sets that are used depending on which display is used.
And there is a calibration function in line 251ff that can be activated and displays the values on the screen after calibration.
I recommend using a stylus while calibrating for precision.
FT81x / BT81x library: https://github.com/RudolphRiedel/FT800-FT813