TftTouchCalibration()

Library Description ›› Touch ››
 visits
Parent Previous Next

Syntax

TftTouchCalibration(bPoints As Byte)

Parameters

Parameter

Description

bPoints

Number of points to be used for calibration

Overview

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:

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)

TftTouchCalibration()

Created with the Personal Edition of HelpNDoc: Revolutionize Your Documentation Output with HelpNDoc's Stunning User Interface