lcddrive.h

来自「采用STC89C51RC单片机」· C头文件 代码 · 共 67 行

H
67
字号


 /*******************************************************************************************************
** Function name: Delay
** Descriptions:  延时函数               
** Input: 延时时间
** Output: 无
********************************************************************************************************/ 
extern void Delayms(unsigned int t) ;

/*******************************************************************************************************
** Function name: Lcd_Command
** Descriptions:  写命令函数               
** Input: Com 命令
** Output: 无
********************************************************************************************************/
extern void Lcd_Command(unsigned char cmdcode);

/*******************************************************************************************************
** Function name: Lcd_DataWrite
** Descriptions:  写数据函数               
** Input: DATA 数据
** Output: 无
********************************************************************************************************/
extern void  Lcd_DataWrite(int8 Data);

/*******************************************************************************************************
** Function name: FullScreenFill
** Descriptions:  写数据函数               
** Input: 	CursorLow   光标低地址
			CursorHigh	光标高地址
			DATA        数据
** Output: 无
********************************************************************************************************/
extern  uint8 LCD_RdData();



/*******************************************************************************************************
** Function name: LCD_Initial
** Descriptions:  初始化显示屏          
** Input: 无
** Output: 无
********************************************************************************************************/
extern void LCD_Initial();


//-----清屏子程序--------------------------------
extern void LCD_ClearScreen();

//-------字符写入子程序----------------------
extern void PrintASCII(uint16 x,y,uint8 *pstr);



extern void PrintGB(uint8 x,y,uint8 *pstr);

/*******************************************************************************************************
** Function name: Lcd_ShowPics
** Descriptions:  显示图片              
** Input: 图片地址
** Output: 无
********************************************************************************************************/
extern void Lcd_ShowPics(uint16 x,y,width,high,uint8 bmp[]);

//--------画点子程序----------------------------------------
extern void Draw_Dot(uint16 x, y);

⌨️ 快捷键说明

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