Arduino Touchscreen Calibration
Posted: Tue May 10, 2022 12:58 pm
I am using an EVE4 Capacitive touch, 7" screen. Is there an Arduino example program showing how to do the touchscreen calibration? I cannot get the touch function to work at all, and maybe this is the problem.
I see in the Programming Guide, page 158 that I need to use:
cmd_dlstart();
cmd(CLEAR(1,1,1));
cmd_text(80, 30, 27, OPT_CENTER, "Please tap on the dot");
cmd_calibrate();
But does this go in the Setup? Do the calibration values get stored?
Also, is the calibration procedure necessary if the program only uses Send_CMD(TAG(1)); to tag buttons? (Which are NOT working at all for me!)
I see in the Programming Guide, page 158 that I need to use:
cmd_dlstart();
cmd(CLEAR(1,1,1));
cmd_text(80, 30, 27, OPT_CENTER, "Please tap on the dot");
cmd_calibrate();
But does this go in the Setup? Do the calibration values get stored?
Also, is the calibration procedure necessary if the program only uses Send_CMD(TAG(1)); to tag buttons? (Which are NOT working at all for me!)