Description: Bus operation control TFT color LCD, to simulate SPI control touch screen display will press the point on a TFT 2.4 inch LCD. Therefore, it is possible to use this procedure to drawn on the screen pattern. Information search, found mainly achieved through software algorithms to deal with this problem, and stable function often complex algorithm ideas, the program uses the touch screen in each acquisition when the acquisition value has error, which is using the touch screen is a bit trickier, simple algorithm: some point after pressing the premise remain release, collecting seven data, and the data in ascending order, take the middle three data as valid data, and the average value as Next after the X, Y coordinates.
To Search:
File list (Check if you may need any files):
Touchscreen.c