Modification into 17th July New display demo code
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of Ext_Demo_17July2017_newdis by
touch_modules.h
00001 00002 #ifndef TOUCH_MODULES_H_ 00003 #define TOUCH_MODULES_H_ 00004 00005 #define TOTAL1 65535 00006 #define X_MAX 240 00007 #define Y_MAX 320 00008 // touch co-ordinates// 00009 #define SYSCFG_MAIN_X_MIN 110 00010 #define SYSCFG_MAIN_X_MAX 170 00011 #define SYSCFG_MAIN_Y_MIN 80 00012 #define SYSCFG_MAIN_Y_MAX 240 00013 00014 #define TEST_MAIN_X_MIN 40 00015 #define TEST_MAIN_X_MAX 90 00016 #define TEST_MAIN_Y_MIN 160 00017 #define TEST_MAIN_Y_MAX 230 00018 00019 #define BLE_MAIN_X_MIN 110 00020 #define BLE_MAIN_X_MAX 150 00021 #define BLE_MAIN_Y_MIN 70 00022 #define BLE_MAIN_Y_MAX 125 00023 00024 #define ERASE_MAIN_X_MIN 110 00025 #define ERASE_MAIN_X_MAX 150 00026 #define ERASE_MAIN_Y_MIN 180 00027 #define ERASE_MAIN_Y_MAX 260 00028 00029 #define FILE_MAIN_X_MIN 60 00030 #define FILE_MAIN_X_MAX 90 00031 #define FILE_MAIN_Y_MIN 50 00032 #define FILE_MAIN_Y_MAX 100 00033 00034 #define HOME_MAIN_X_MIN 60 00035 #define HOME_MAIN_X_MAX 100 00036 #define HOME_MAIN_Y_MIN 190 00037 #define HOME_MAIN_Y_MAX 300 00038 00039 #define BG_MAIN_X_MIN 110 00040 #define BG_MAIN_X_MAX 150 00041 #define BG_MAIN_Y_MIN 70 00042 #define BG_MAIN_Y_MAX 125 00043 00044 #define ECG_MAIN_X_MIN 110 00045 #define ECG_MAIN_X_MAX 150 00046 #define ECG_MAIN_Y_MIN 180 00047 #define ECG_MAIN_Y_MAX 260 00048 00049 #define BP_MAIN_X_MIN 60 00050 #define BP_MAIN_X_MAX 90 00051 #define BP_MAIN_Y_MIN 50 00052 #define BP_MAIN_Y_MAX 100 00053 00054 #define START_MAIN_X_MIN 110 00055 #define START_MAIN_X_MAX 150 00056 #define START_MAIN_Y_MIN 100 00057 #define START_MAIN_Y_MAX 220 00058 00059 #define MAIN_X_MIN 40 00060 #define MAIN_X_MAX 90 00061 #define MAIN_Y_MIN 160 00062 #define MAIN_Y_MAX 230 00063 00064 #define RET_MAIN_X_MIN 60 00065 #define RET_MAIN_X_MAX 90 00066 #define RET_MAIN_Y_MIN 50 00067 #define RET_MAIN_Y_MAX 100 00068 00069 #define RETEST_MAIN_X_MIN 60 00070 #define RETEST_MAIN_X_MAX 100 00071 #define RETEST_MAIN_Y_MIN 190 00072 #define RETEST_MAIN_Y_MAX 300 00073 00074 #define FPS_MAIN_X_MIN 110 00075 #define FPS_MAIN_X_MAX 150 00076 #define FPS_MAIN_Y_MIN 70 00077 #define FPS_MAIN_Y_MAX 125 00078 00079 #define PP_MAIN_X_MIN 110 00080 #define PP_MAIN_X_MAX 150 00081 #define PP_MAIN_Y_MIN 180 00082 #define PP_MAIN_Y_MAX 260 00083 00084 #define RANDOM_MAIN_X_MIN 60 00085 #define RANDOM_MAIN_X_MAX 90 00086 #define RANDOM_MAIN_Y_MIN 50 00087 #define RANDOM_MAIN_Y_MAX 100 00088 00089 #define RET_TEST_X_MIN 60 00090 #define RET_TEST_X_MAX 90 00091 #define RET_TEST_Y_MIN 50 00092 #define RET_TEST_Y_MAX 100 00093 00094 #define YES_MAIN_X_MIN 60 00095 #define YES_MAIN_X_MAX 90 00096 #define YES_MAIN_Y_MIN 50 00097 #define YES_MAIN_Y_MAX 100 00098 00099 #define NO_MAIN_X_MIN 60 00100 #define NO_MAIN_X_MAX 100 00101 #define NO_MAIN_Y_MIN 190 00102 #define NO_MAIN_Y_MAX 300 00103 00104 unsigned char touch_main(); 00105 unsigned char touch_main_1(); 00106 unsigned char touch_main_2(); 00107 void touch1() ; 00108 int readTouchY(void); 00109 void detect_touch(); 00110 int readTouchX(void); 00111 void EnableTouch(void); 00112 void DisableTouch (void); 00113 unsigned char touch_main(); 00114 unsigned char touch_glc(); 00115 unsigned char touch_ecg(); 00116 unsigned char touch_bp(); 00117 unsigned char touch_ret(); 00118 unsigned char touch_again_ecg(); 00119 unsigned char touch_again_glc(); 00120 unsigned char touch_again_bp(); 00121 void screen_bp2(); 00122 unsigned char BT_return(); // //determining the touch for bp main screen 00123 00124 #endif
Generated on Wed Jul 13 2022 16:15:21 by 1.7.2