lcd.h

来自「芯片at89s52」· C头文件 代码 · 共 46 行

H
46
字号
/******************************************************************************
 * File   Name: lcd.h														  *
 * Create Time: 															  *
 * Description:																  *
 * Copyright  :																  *
 * History    :																  *
 * |---Data---|---Author---|--Version--|--------------Description-------------|
 *****************************************************************************/


#ifndef _LCD_           /* Performed as a on-off, to avoid the header */   
#define _LCD_	        /* file being included more than once         */

/******************************
 *      Head File			  *
 *****************************/
 #include"at89x52.h"
 #include"string.h"
 
/******************************
 *     Macros Segment		  *
 *****************************/	
 #define uchar unsigned char 

/******************************
 *     Function Declaration	  *
 *****************************/
 void lcdScan(void);
 void lcdSend(uchar inputdata);
 void lcdPrint(uchar displayData);
 void bitMove();
 void circleBitMove();
 uchar circleShift(uchar udata);
 uchar shift(uchar udata);
 void lcdDelay(int i);
 //void strShift(uchar *str);
 
 /*void moveDisplay(void);
 void strScan(void); */
 #endif
/*******************************************************************************
 *                        The end of the entire file			               *
 ******************************************************************************/


⌨️ 快捷键说明

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