Fork with support for ILI9341 controller
Dependents: CANary_9341 CANary
Fork of TOUCH_TFTx2 by
Revision 8:fd0abf6a7f59, committed 2013-02-22
- Comitter:
- TickTock
- Date:
- Fri Feb 22 23:23:34 2013 +0000
- Parent:
- 7:9cc43f20e365
- Child:
- 9:b322eddc57c7
- Child:
- 10:fd7ae99850a9
- Commit message:
- tweaked sensitivity
Changed in this revision
TOUCH_TFTx2.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/TOUCH_TFTx2.cpp Tue Feb 19 18:18:56 2013 +0000 +++ b/TOUCH_TFTx2.cpp Fri Feb 22 23:23:34 2013 +0000 @@ -81,7 +81,7 @@ dx = (x1 > x2)? (x1-x2) : (x2-x1); x2 = x1; if(dy<accuracy && dx<accuracy) { - if(k<8){ + if(k<numsamp/2){ xs1 += x1; ys1 += y1; i++;