User manual
610
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
TP_Calibrate_Bottom_Left
Prototype
sub procedure TP_Calibrate_Bottom_Left()
Description Calibrate bottom left corner of the touch Panel.
Parameters None.
Returns Nothing.
Requires Nothing.
Example
TP_Calibrate_Bottom_Left() ‘ Calibration of bottom left corner
Notes None.
TP_Calibrate_Upper_Right
Prototype
sub procedure TP_Calibrate_Upper_Right()
Description Calibrate upper right corner of the touch panel.
Parameters None.
Returns Nothing.
Requires Nothing.
Example
TP_Calibrate_Upper_Right() ‘ Calibration of upper right corner
Notes None.
TP_Get_Calibration_Consts
Prototype
sub procedure TP_Get_Calibration_Consts(dim byref x_min as word, dim byref
x_max as word, dim byref y_min as word, dim byref y_max as word)
Description Gets calibration constants after calibration is done and stores them in x_min, x_max, y_min and
y_max parameters.
Parameters - x_min: x coordinate of the bottom left corner of the working area.
- x_max: x coordinate of the upper right corner of the working area.
- y_min: y coordinate of the bottom left corner of the working area.
- y_max: y coordinate of the upper right corner of the working area.
Returns Nothing.
Requires Nothing.
Example
TP_Get_Calibration_Consts(@x_min, @y_min, @x_max, @y_max) ‘ Get calibration
constants
Notes None.