A library for ADS7843 touch-screens which is interrupt driven, allowing you to register callback handlers for touchStart, touchMove and touchEnd events.
Dependents: TouchScreenCalibrate TouchScreenGUIDemo
Diff: TouchScreen.h
- Revision:
- 1:9bd85d0331a8
- Parent:
- 0:3f0160100cc9
- Child:
- 3:8b5fcf3857ac
diff -r 3f0160100cc9 -r 9bd85d0331a8 TouchScreen.h --- a/TouchScreen.h Sat Mar 19 15:39:36 2016 +0000 +++ b/TouchScreen.h Fri Mar 25 16:49:03 2016 +0000 @@ -140,6 +140,8 @@ TouchCallbackHandler _touchMoveHandler; TouchCallbackHandler _touchEndHandler; + FunctionPointer _f; + Thread* _handlerThread; // Used to poll the screen while it is being touched to track movement and to debounce edge changes