文件名称:1
介绍说明--下载内容来自于网络,使用问题请自行百度
1、实现SPI驱动TSC2046,读取X,Y触摸坐标
2、触摸坐标和LCD坐标的对应关系可由矩阵平移、旋转、缩放三者来表示
XL XT*A+XT*B+C
YL YT*D+YT*E+F
采用五点校正算法,计算出参数A,B,C,D,E,F
因为参数多为小数不易存放,所以乘以一个参数作为整数存放。
3、每次读取触摸按下的坐标时,读TSC2046的是触摸坐标,
而需要的是LCD坐标,所以把触摸坐标和上述参数代入上面等式即可获得-1, to achieve SPI drive TSC2046, read X, Y touch coordinates
2, touch coordinates and LCD coordinates of the corresponding relationship can be matrix translation, rotation, zoom to show that the three
XL XT* A+ XT* B+ C
YL YT* D+ YT* E+ F
The parameters A, B, C, D, E, F are calculated using the five-point correction algorithm
Because the parameters are mostly decimal not easy to store, so multiplied by a parameter stored as an integer.
3, each time you read the touch press the coordinates, read TSC2046 is the touch coordinates,
And the need for LCD coordinates, so the touch coordinates and the above parameters into the above equation can be obtained
2、触摸坐标和LCD坐标的对应关系可由矩阵平移、旋转、缩放三者来表示
XL XT*A+XT*B+C
YL YT*D+YT*E+F
采用五点校正算法,计算出参数A,B,C,D,E,F
因为参数多为小数不易存放,所以乘以一个参数作为整数存放。
3、每次读取触摸按下的坐标时,读TSC2046的是触摸坐标,
而需要的是LCD坐标,所以把触摸坐标和上述参数代入上面等式即可获得-1, to achieve SPI drive TSC2046, read X, Y touch coordinates
2, touch coordinates and LCD coordinates of the corresponding relationship can be matrix translation, rotation, zoom to show that the three
XL XT* A+ XT* B+ C
YL YT* D+ YT* E+ F
The parameters A, B, C, D, E, F are calculated using the five-point correction algorithm
Because the parameters are mostly decimal not easy to store, so multiplied by a parameter stored as an integer.
3, each time you read the touch press the coordinates, read TSC2046 is the touch coordinates,
And the need for LCD coordinates, so the touch coordinates and the above parameters into the above equation can be obtained
(系统自动生成,下载前可以参看下载内容)
下载文件列表
触摸校准算法/
触摸校准算法/012112iht554q3yf80yix3.rar
触摸校准算法/013624ssy3s3fxzyyyxi38.pdf
触摸校准算法/111.pdf
触摸校准算法/1221.pdf
触摸校准算法/5点校准.pdf
触摸校准算法/stm8s_touch_sensing_package_v1.1.0.zip
触摸校准算法/带校准和清屏的显示.rar
触摸校准算法/新建文本文档.txt
触摸校准算法/触摸屏算法.pdf
触摸校准算法/012112iht554q3yf80yix3.rar
触摸校准算法/013624ssy3s3fxzyyyxi38.pdf
触摸校准算法/111.pdf
触摸校准算法/1221.pdf
触摸校准算法/5点校准.pdf
触摸校准算法/stm8s_touch_sensing_package_v1.1.0.zip
触摸校准算法/带校准和清屏的显示.rar
触摸校准算法/新建文本文档.txt
触摸校准算法/触摸屏算法.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.