.
Dependencies: SPI_TFT_ILI9341
Fork of SeeedStudioTFTv2 by
Diff: SeeedStudioTFTv2.cpp
- Revision:
- 14:9e54a2bb3f53
- Parent:
- 10:b55a7f8d1145
--- a/SeeedStudioTFTv2.cpp Tue May 06 18:12:49 2014 +0000 +++ b/SeeedStudioTFTv2.cpp Wed Sep 24 22:23:25 2014 +0000 @@ -89,7 +89,7 @@ float z = 0; z = (float)ay / ax / x / 2 * 0x10000; #endif - const int th = 8000; + const int th = 4000; const int df = 100; TOUCH touch; if (x1 < th || x2 < th || @@ -102,6 +102,9 @@ } else { touch = YES; } + //int temp = p.x; + //p.x = p.y; + //p.y = temp; //locate(0,50); //printf("x: %6i y: %6i",p.x,p.y); return touch;