⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd_touch.h

📁 使用embest IDE开发工具开发的基于LPC2294 的触摸屏开发
💻 H
字号:
/*
**********************************************************************************************
*
*     		  Embest Info&Tech Co., Ltd.  All rights reserved.
*                   		  www.embedinfo.com
*			
*file:     		xxx.c/xxx.h 
*author:   		embest 
*establish: 	2006.xx.xx
*modify:		xx
*notes:			xx
**********************************************************************************************
*/
/*
**********************************************************************************************
*                                      compiler condition 
**********************************************************************************************
*/
#ifndef lcd_touch
	#define lcd_touch
/*
**********************************************************************************************
*                                       include files
**********************************************************************************************
*/
#include	"..\..\com\type_redefine.h"
#include	"..\..\com\lpc22xx_register.h"
#include 	"..\..\com\lpc_lib_pll\lpc_lib_pll.h"
#include 	"..\..\com\lpc_lib_mylcd\lpc_lib_mylcd.h"
//#include 	"..\..\com\lpc_lib_touch\touch.h"
#include 	"..\..\com\lpc_lib_calibrate\calibrate.h"
#include 	"..\..\com\lpc_lib_spi\lpc_lib_spi.h"

/*
**********************************************************************************************
*                                   constant define 
**********************************************************************************************
*/
                     
#define jiao_zheng_length   10      //校正中用到的x所在正方形的边长                           
#define jiao_col            0xe0    //校正画线的颜色
#define jiao_back           0x0     //校正中x这外的背景颜色                        


typedef struct RECTANGLE_RANG{
               INT16U x_start,
                      x_end;
               INT8U  y_start,
                      y_end;
               }Rectangle_rang;
/*
**********************************************************************************************
*                               extern function/variable declare
**********************************************************************************************
*/


/*
**********************************************************************************************
*                                   function declare  
**********************************************************************************************
*/
void disp_x(INT16U x,INT8U y,INT8U col);
void mylcd_touch_jiao();
void conversion_touch_to_lcd(POINT *touch,POINT *lcd);


#endif










⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -