TftTouchCalibration()

Library Description ›› Touch ››
Parent Previous Next

TftTouchCalibration(bPoints As Byte)


bPoints = Number of points to be used for calibration

Valid values: 3, 5, 7, 9


This procedure initializes the touch screen calibration process. 


Upon completion, the calibration coefficients are stored in the global shared float variables fKX1, fKX2, fKX3, fKY1, fKY2, and fKY3.


 These coefficients can either be saved for future use or applied for the current session.


Calibration Details:

• Higher number of calibration points yields better accuracy but requires more time from the user.

• The user needs to tap 5 times on each marked calibration point until it disappears. A 1-second pause is provided between each point readout to avoid double tapping.


Calibration Method:

The calibration process uses the MMSE-Based Multi-point Calibration Algorithm, which ensures an accurate mapping of the touch screen coordinates to the corresponding screen pixel locations.


Example:

TftTouchCalibration(5)








Created with the Personal Edition of HelpNDoc: Upgrade your help files and your workflow with HelpNDoc's WinHelp HLP to CHM conversion