=========================abc_resources.h
const code char Tahoma11x13_Regular[];
volatile unsigned int *Xc, *Yc;
volatile unsigned int t, u, a, b;
==============================abc.main
#include "abc_objects.h"
#include "abc_resources.h"
void main() {
Xc = &a;
Yc = &b;
Start_TP();
while (1) {
Check_TP();
GetCoordinates();
}
}
==============================abc_events_code.c
#include "abc_objects.h"
#include "abc_resources.h"
void GetCoordinates(){
if (TP_TFT_Press_Detect()) {
t = *Xc;
u = *Yc;
if (TP_TFT_Get_Coordinates(&Xc, &Yc ) > 120) {
ProgressBar1.Position = 180;
}
}
}
====================================================
Some of the errors:
23 324 Undeclared identifier 't' in expression abc_events_code.c
23 324 Undeclared identifier 'Xc' in expression abc_events_code.c
24 322 Pointer required abc_events_code.c
24 324 Undeclared identifier 'u' in expression abc_events_code.c
24 324 Undeclared identifier 'Yc' in expression abc_events_code.c
Etc....