discoverpixy
screen_calibrate.h
Go to the documentation of this file.
1 #include "screen.h"
2 
7 
8 
14 
15 
22 
25 
26 
27 //TODO: Move this define to a common accessible, but private header file (they are used by screen_calibrate.c and touch.c)
28 #define CCENTER 20 //Pixel Distance from Sides for Calibration Cross
29 #define CLENGTH 10 //Length of the Calibration Cross Lines
30 #define CBEGIN (CCENTER-CLENGTH/2)
31 #define CEND (CCENTER + CLENGTH/2)
32 #define DWIDTH 320 //TODO: move define to tft module or make a function out of it
33 #define DHEIGHT 240 //TODO: move define to tft module or make a function out of it
SCREEN_STRUCT * get_screen_calibrate()
Definition: screen_calibrate.c:91
Definition: screen.h:34