Modified to work with two displays
Dependents: touch2 default CANary_9341_test CANary_merge
Fork of Touch_tft by
Diff: TOUCH_TFTx2.h
- Revision:
- 5:a9890c586a64
- Parent:
- 4:a3cd26c97b76
- Child:
- 6:a91b668b058a
--- a/TOUCH_TFTx2.h Mon Feb 11 02:14:15 2013 +0000 +++ b/TOUCH_TFTx2.h Thu Feb 14 00:26:54 2013 +0000 @@ -110,14 +110,13 @@ AnalogIn _ay; PinName xa; PinName ya; - - + unsigned short x_a,y_a; - unsigned short x_off,y_off; - unsigned short pp_tx,pp_ty; - - - + unsigned short x0_off,y0_off; + unsigned short x0_pp,y0_pp; + unsigned short x1_off,y1_off; + unsigned short x1_pp,y1_pp; + unsigned short x_mid; }; #endif \ No newline at end of file