This program present workng library/class implementation/driver for touch panel controler xpt2046 or ads7843. Calbration in the future. I use in this program TFTLCD Library http://developer.mbed.org/users/ttodorov/. Thank You Todor
Dependencies: MyTouch TFTLCD mbed
Diff: main.cpp
- Revision:
- 1:ea35f77decd1
- Parent:
- 0:a6a47eb54f87
--- a/main.cpp Fri Nov 28 22:58:47 2014 +0000 +++ b/main.cpp Sat Nov 29 19:17:13 2014 +0000 @@ -7,7 +7,7 @@ //* // prepare the data bus for writing commands and pixel data BusOut lcdDataBus( PC_0, PC_1, PC_2, PC_3, PC_4, PC_5, PC_6, PC_7, PC_8, PC_9, PC_10, PC_11, PC_12, PC_13, PC_14, PC_15 ); // 16 pins pc13-pb7 -void vISRTouchIRQ(void) ; +void mytouch_irq_handler(void) ; volatile unsigned int x, y ; // create LCD class instance