#include #include #include "touch_screen.h" int main(int argc, const char *argv[]) { int x, y ; while (1) { touch_position(&x,&y) ; printf ("position : %d, %d\n", x, y); usleep(1000); // just a small pause } return 0; }