On the basis of analyzing the working principle of ADC and touch screen for resistance, using ADC and GPIO module of the microprocessor LM3S3749 instead of dedicated controller ADS7846 touch screen. The hardware connection between LM3S3749 and LCD touch screen Interface circuit was designed, and a necessary program flowchart and function code was given. The method of obtaining coordinates of touch screen and the algorithms of LCD screen display synchronization were proposed to improve the efficiency of touch screen and LCD screen, and to satisfy the control precision.%在分析电阻触摸屏和ADC的工作原理的基础上,采用微处理器LM3S4749自带模块ADC和GPIO代替触摸屏专用控制器ADS7846.设计出LM3S3749与液晶显示触摸屏接口电路的硬件连接,并给出必要的序流程图和函数代码.提出触摸屏触点坐标的获得方法与液晶屏显示同步的算法,以提高设计触摸屏与液晶的效率,满足控制精度.
展开▼