Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
UTouchCD.h
00001 // UTouchCD.h 00002 // ---------- 00003 // 00004 // Since there are slight deviations in all touch screens you should run a 00005 // calibration on your display module. Run the UTouch_Calibration sketch 00006 // that came with this library and follow the on-screen instructions to 00007 // update this file. 00008 // 00009 // Remember that is you have multiple display modules they will probably 00010 // require different calibration data so you should run the calibration 00011 // every time you switch to another module. 00012 // You can, of course, store calibration data for all your modules here 00013 // and comment out the ones you dont need at the moment. 00014 // 00015 00016 // These calibration settings works with my ITDB02-3.2S. 00017 // They MIGHT work on your 320x240 display module, but you should run the 00018 // calibration sketch anyway. If you are using a display with any other 00019 // resolution you MUST calibrate it as these settings WILL NOT work. 00020 //#define CAL_X 0x00378F66UL 00021 //#define CAL_Y 0x03C34155UL 00022 //#define CAL_S 0x000EF13FUL 00023 00024 //#define CAL_X 0x001DC771UL 00025 //#define CAL_Y 0x01E200A6UL 00026 //#define CAL_S 0x000EF13FUL 00027 00028 #ifndef UTouchCD_h 00029 #define UTouchCD_h 00030 00031 #ifdef __cplusplus 00032 extern "C" { 00033 #endif 00034 00035 #define CAL_X 0x041E80EDUL 00036 #define CAL_Y 0x002A0F6FUL 00037 #define CAL_S 0x000EF13FUL 00038 00039 #ifdef __cplusplus 00040 } 00041 #endif 00042 00043 #endif
Generated on Tue Nov 1 2022 13:51:59 by
1.7.2