User manual
648
mikoC PRO for dsPIC
MikroElektronika
TP_TFT_Set_Calibration_Consts
Prototype
void TP_TFT_Set_Calibration_Consts(unsigned int x_min, unsigned int x_max,
unsigned int y_min, unsigned int y_max);
Description Sets calibration constants.
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_TFT_Set_Calibration_Consts(173, 776, 75, 760); // Set calibration
constants
Notes None.
HW Connection