User manual
550
mikoBasic PRO for PIC32
MikroElektronika
Touch Panel Library
The mikroBasic PRO for PIC32 provides a library for working with Touch Panel.
Library Dependency Tree
External dependencies of Touch Panel Library
The following variables must be dened in all 
projects using Touch Panel Library:
Description: Example:
dim DriveA as sbit sfr external
DriveA line.
dim DriveA as sbit at LATC13_bit
dim DriveB as sbit sfr external
DriveB line.
dim DriveB as sbit at LATC14_bit
dim  DriveA_Direction  as  sbit  sfr 
external
Direction of the DriveA pin.
dim  DriveA_Direction  as  sbit  at 
TRISC13_bit
dim  DriveB_Direction  sbit  sfr 
external
Direction of the DriveB pin.
dim  DriveB_Direction  as  sbit  at 
TRISC14_bit
Library Routines
  - TP_Init 
  - TP_Set_ADC_Threshold 
  - TP_Press_Detect 
  - TP_Get_Coordinates 
  - TP_Calibrate_Bottom_Left 
  - TP_Calibrate_Upper_Right 
  - TP_Get_Calibration_Consts 
  - TP_Set_Calibration_Consts










