Control TouchScreen ADS7843
Fork of TouchADS7843 by
Revision 2:32aa42301c90, committed 2017-04-23
- Comitter:
- cgscmm
- Date:
- Sun Apr 23 15:15:27 2017 +0000
- Parent:
- 1:63a925e2a3d2
- Commit message:
- ??
Changed in this revision
Touch.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Touch.h Fri Feb 04 03:00:35 2011 +0000 +++ b/Touch.h Sun Apr 23 15:15:27 2017 +0000 @@ -200,7 +200,7 @@ TempX=0; TempY=0; for (k=0;k<8;k++) { - if (Resolution==8) { + if (Resolution==8) { TempX+=ADS7843WriteAndReadData(ADS7843_READ_X_8); TempY+=ADS7843WriteAndReadData(ADS7843_READ_Y_8); } else {