Specifications

76 Chapter 6 - Command Reference
Calibration ('C','c')
Function: Provides access to the on-board calibration facilities of the
controller.
Set Cal 0 1 2 & 3 4 & 5 6 7
by Range: 'C' AXIS LowPoint HighPoint
Query 0 1 2 3 4 5 6 7
Params: 'c' axis
Set Params/ 0 1 2 & 3 4 & 5 6 & 7
Response: 'C' axis Offset Numerator Denominator
Run Two 0 1 2 3 4 5 6 7
Point Cal: 'C' '2'
Set SwapFlag/ 0 1 2 3 4 5 6 7
Response: 'C' 'S' Enable
Query 0 1 2 3 4 5 6 7
SwapFlag: 'c' 'S'
Calibration can be performed by a host-driven calibration program or a controller-
driven calibration sequence. Calibration is discussed in the tutorial in Chapter 4,
and an example is given in Chapter 5.
The Calibration command has several functions:
Setting the Calibration Points Acquired by a Host-Driven Calibration
Program
Calibration is typically accomplished by a host-driven calibration program which
determines the raw touchscreen coordinates at the extremes of the display image.
These coordinates are then communicated to the controller, which converts them
into an internal Offset, Numerator, and Denominator format.