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.
Dependents: LPC1768_Mini-DK_EasyWeb_DM9161 LPC1768_Mini-DK LPC1768_Mini-DK
Fork of Mini-DK by
Diff: TouchADS7843/Touch.cpp
- Revision:
- 22:9d05a7e6dc9d
- Parent:
- 21:a3a843d09295
diff -r a3a843d09295 -r 9d05a7e6dc9d TouchADS7843/Touch.cpp
--- a/TouchADS7843/Touch.cpp Sun Mar 23 19:50:47 2014 +0000
+++ b/TouchADS7843/Touch.cpp Sun Mar 23 20:00:51 2014 +0000
@@ -253,7 +253,7 @@
LCD->printf("Touch crosshair to calibrate");
wait_ms(500);
DrawCross(DisplaySample[i].x,DisplaySample[i].y);
- do {} while (!Read_Ads7846(&screen_cal));
+ do {} while (!Read_Ads7843(&screen_cal));
ScreenSample[i].x= screen_cal.x;ScreenSample[i].y= screen_cal.y;
}
setCalibrationMatrix( &DisplaySample[0],&ScreenSample[0],&matrix) ;
