![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
touch_modules.h
- Committer:
- nikitateggi
- Date:
- 2017-11-03
- Revision:
- 56:89eb9a977641
- Parent:
- 53:cc6e65480a67
File content as of revision 56:89eb9a977641:
#ifndef TOUCH_MODULES_H_ #define TOUCH_MODULES_H_ #define TOTAL1 65535 #define X_MAX 240 #define Y_MAX 320 // touch co-ordinates// #define SYSCFG_HOME_X_MIN 106 //SYSCFG_MAIN CHANGED TO SYSCFG_HOME 21/07/17 #define SYSCFG_HOME_X_MAX 150 #define SYSCFG_HOME_Y_MIN 90 #define SYSCFG_HOME_Y_MAX 225 #define TEST_HOME_X_MIN 53 //TEST_MAIN CHANGED TO TEST_HOME 21/07/17 #define TEST_HOME_X_MAX 81 #define TEST_HOME_Y_MIN 90 #define TEST_HOME_Y_MAX 225 #define BT_MAIN_X_MIN 110 //BLE_MAIN CHANGED TO BT_MAIN 21/07/17 #define BT_MAIN_X_MAX 145 #define BT_MAIN_Y_MIN 50 #define BT_MAIN_Y_MAX 130 #define PATIENT_INFO_MAIN_X_MIN 110 //ERASE_MAIN CHANGED TO DELETE_MAIN 21/07/17 #define PATIENT_INFO_MAIN_X_MAX 145 #define PATIENT_INFO_MAIN_Y_MIN 180 #define PATIENT_INFO_MAIN_Y_MAX 260 #define HOME_SYS_CONFIG_X_MIN 60 #define HOME_SYS_CONFIG_X_MAX 90 #define HOME_SYS_CONFIG_Y_MIN 50 #define HOME_SYS_CONFIG_Y_MAX 130 #define HOME_MAIN_X_MIN 60 #define HOME_MAIN_X_MAX 90 #define HOME_MAIN_Y_MIN 180 #define HOME_MAIN_Y_MAX 260 #define DEBUG_MAIN_X_MIN 60 #define DEBUG_MAIN_X_MAX 90 #define DEBUG_MAIN_Y_MIN 180 #define DEBUG_MAIN_Y_MAX 260 #define BG_MAIN_X_MIN 110 #define BG_MAIN_X_MAX 140 #define BG_MAIN_Y_MIN 50 #define BG_MAIN_Y_MAX 130 #define ECG_MAIN_X_MIN 110 #define ECG_MAIN_X_MAX 145 #define ECG_MAIN_Y_MIN 180 #define ECG_MAIN_Y_MAX 260 #define BP_MAIN_X_MIN 60 #define BP_MAIN_X_MAX 90 #define BP_MAIN_Y_MIN 50 #define BP_MAIN_Y_MAX 130 #define START_MAIN_X_MIN 106 #define START_MAIN_X_MAX 150 #define START_MAIN_Y_MIN 90 #define START_MAIN_Y_MAX 225 #define MAIN_X_MIN 53 #define MAIN_X_MAX 81 #define MAIN_Y_MIN 90 #define MAIN_Y_MAX 225 #define BG_RET_MAIN_X_MIN 60 //RET_MAIN CHANGED TO BG_RET_MAIN 21/7/17 // MAIN IN BG SCREEN #define BG_RET_MAIN_X_MAX 90 #define BG_RET_MAIN_Y_MIN 180 #define BG_RET_MAIN_Y_MAX 260 #define RETEST_HOME_X_MIN 60 //RETEST ICON IN THE RESULT SCREEN #define RETEST_HOME_X_MAX 90 #define RETEST_HOME_Y_MIN 180 #define RETEST_HOME_Y_MAX 260 #define FPS_MAIN_X_MIN 110 #define FPS_MAIN_X_MAX 140 #define FPS_MAIN_Y_MIN 50 #define FPS_MAIN_Y_MAX 130 #define PP_MAIN_X_MIN 110 #define PP_MAIN_X_MAX 145 #define PP_MAIN_Y_MIN 180 #define PP_MAIN_Y_MAX 260 #define RANDOM_MAIN_X_MIN 60 #define RANDOM_MAIN_X_MAX 90 #define RANDOM_MAIN_Y_MIN 50 #define RANDOM_MAIN_Y_MAX 130 #define RET_TEST_X_MIN 60 //MAIN ICON IN RESULT SCREEN #define RET_TEST_X_MAX 90 #define RET_TEST_Y_MIN 50 #define RET_TEST_Y_MAX 130 #define YES_MAIN_X_MIN 60 #define YES_MAIN_X_MAX 90 #define YES_MAIN_Y_MIN 50 #define YES_MAIN_Y_MAX 130 #define NO_MAIN_X_MIN 60 #define NO_MAIN_X_MAX 90 #define NO_MAIN_Y_MIN 180 #define NO_MAIN_Y_MAX 260 #define SD_DEL_X_MIN 110 //Co-ordinates for SD-DEL #define SD_DEL_X_MAX 140 #define SD_DEL_Y_MIN 50 #define SD_DEL_Y_MAX 130 #define SD_READ_X_MIN 110 //Co-ordinates for SD-READ #define SD_READ_X_MAX 145 #define SD_READ_Y_MIN 180 #define SD_READ_Y_MAX 260 #define Z_X_MIN 60 #define Z_X_MAX 90 #define Z_Y_MIN 50 #define Z_Y_MAX 130 #define DEBUG_BACK_X_MIN 60 //Co-ordinates for BACK in DEBUG #define DEBUG_BACK_X_MAX 90 #define DEBUG_BACK_Y_MIN 180 #define DEBUG_BACK_Y_MAX 260 unsigned char touch_main(); unsigned char touch_main_1(); unsigned char touch_main_2(); void touch1() ; int readTouchY(void); void detect_touch(unsigned char display_state); int readTouchX(void); void EnableTouch(void); void DisableTouch (void); unsigned char touch_main(); unsigned char touch_glc(); unsigned char touch_ecg(); unsigned char touch_bp(); unsigned char touch_ret(); unsigned char touch_again_ecg(); unsigned char touch_again_glc(); unsigned char touch_again_bp(); void screen_bp2(); unsigned char BT_return(); // //determining the touch for bp main screen void touch_func_with_timer(uint32_t time_ms); void touch_func_without_timer(); uint32_t get_timer(); void no_touch(); unsigned char touch_debug(); #endif