User’s Manual
93
The
TS_R4096.LIB
library in the
TouchScreens
directory provides low-level touch-
screen function calls.
Calibrates the touchscreen as a linear function using the two sets of x,y coordinates provided. Gain and
offset constants are calculated and placed into the global table
_adcCalibTS
.
PARAMETERS
x1
is the x coordinate of the upper left-hand corner of the touchscreen
y1
is the y coordinate of the upper left-hand corner of the touchscreen
x2
is the x coordinate of the lower right-hand corner of the touchscreen
y2
is the y coordinate of the lower right-hand corner of the touchscreen
RETURN VALUE
0 if sucessful
-1 if not able to make calibration constants
SEE ALSO
TsCalibEERd, TsCalibEEWr, TsXYvector, brdInit
Reads the calibration constants, gain, and offset from the simulated EEPROM in flash. The constants are
stored in the the top 1K of the reserved user block memory area. Use the sample program
USERBLOCKINFOR.C
in
SAMPLES\OP7200
to get the addresses reserved for the calibration data
constants and the addresses available for use by your application program.
RETURN VALUE
0 if sucessful
-1 if invalid address or range
SEE ALSO
TsCalib, TsCalibEEWr, TsXYvector, brdInit
Writes the calibration constants, gain, and offset to the simulated EEPROM in flash. The constants are
stored in the the top 1K of the reserved user block memory area. Use the sample program
USERBLOCKINFOR.C
in
SAMPLES\OP7200
to get the addresses reserved for the calibration data
constants and the addresses available for use by your application program.
RETURN VALUE
0 if sucessful
-1 if invalid address or range
SEE ALSO
TsCalib, TsCalibEERd, TsXYvector, brdInit
int TsCalib(int x1, int y1, int x2, int y2);
int TsCalibEERd(void);
int TsCalibEEWr(void);
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 021001 A ...
Страница 6: ...eDisplay OP7200 ...
Страница 44: ...38 eDisplay OP7200 ...
Страница 117: ...User s Manual 111 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200 ...
Страница 128: ...122 eDisplay OP7200 ...
Страница 136: ...130 eDisplay OP7200 ...
Страница 144: ...138 eDisplay OP7200 ...
Страница 146: ...140 eDisplay OP7200 ...
Страница 150: ...144 eDisplay OP7200 ...
Страница 152: ......