.

Committer:
smejky
Date:
Wed Dec 08 16:08:26 2021 +0000
Revision:
1:88d79fcedec7
Parent:
0:a275ef704eb8
wokring;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rpocc 0:a275ef704eb8 1 // UTouchCD.h
rpocc 0:a275ef704eb8 2 // ----------
rpocc 0:a275ef704eb8 3 //
rpocc 0:a275ef704eb8 4 // Since there are slight deviations in all touch screens you should run a
rpocc 0:a275ef704eb8 5 // calibration on your display module. Run the UTouch_Calibration sketch
rpocc 0:a275ef704eb8 6 // that came with this library and follow the on-screen instructions to
rpocc 0:a275ef704eb8 7 // update this file.
rpocc 0:a275ef704eb8 8 //
rpocc 0:a275ef704eb8 9 // Remember that is you have multiple display modules they will probably
rpocc 0:a275ef704eb8 10 // require different calibration data so you should run the calibration
rpocc 0:a275ef704eb8 11 // every time you switch to another module.
rpocc 0:a275ef704eb8 12 // You can, of course, store calibration data for all your modules here
rpocc 0:a275ef704eb8 13 // and comment out the ones you dont need at the moment.
rpocc 0:a275ef704eb8 14 //
rpocc 0:a275ef704eb8 15
rpocc 0:a275ef704eb8 16 // These calibration settings works with my ITDB02-3.2S.
rpocc 0:a275ef704eb8 17 // They MIGHT work on your 320x240 display module, but you should run the
rpocc 0:a275ef704eb8 18 // calibration sketch anyway. If you are using a display with any other
rpocc 0:a275ef704eb8 19 // resolution you MUST calibrate it as these settings WILL NOT work.
rpocc 0:a275ef704eb8 20 //#define CAL_X 0x00378F66UL
rpocc 0:a275ef704eb8 21 //#define CAL_Y 0x03C34155UL
rpocc 0:a275ef704eb8 22 //#define CAL_S 0x000EF13FUL
rpocc 0:a275ef704eb8 23
rpocc 0:a275ef704eb8 24 //#define CAL_X 0x001DC771UL
rpocc 0:a275ef704eb8 25 //#define CAL_Y 0x01E200A6UL
rpocc 0:a275ef704eb8 26 //#define CAL_S 0x000EF13FUL
rpocc 0:a275ef704eb8 27
rpocc 0:a275ef704eb8 28 #ifndef UTouchCD_h
rpocc 0:a275ef704eb8 29 #define UTouchCD_h
rpocc 0:a275ef704eb8 30
rpocc 0:a275ef704eb8 31 #ifdef __cplusplus
rpocc 0:a275ef704eb8 32 extern "C" {
rpocc 0:a275ef704eb8 33 #endif
rpocc 0:a275ef704eb8 34
smejky 1:88d79fcedec7 35 #define CAL_X 0x041E80EDUL
smejky 1:88d79fcedec7 36 #define CAL_Y 0x002A0F6FUL
smejky 1:88d79fcedec7 37 #define CAL_S 0x000EF13FUL
rpocc 0:a275ef704eb8 38
rpocc 0:a275ef704eb8 39 #ifdef __cplusplus
rpocc 0:a275ef704eb8 40 }
rpocc 0:a275ef704eb8 41 #endif
rpocc 0:a275ef704eb8 42
rpocc 0:a275ef704eb8 43 #endif