lcd.h

来自「基于8515的lcd显示控制程序」· C头文件 代码 · 共 34 行

H
34
字号
//
//	File Name:		lcd.h
//
//	Title:			LCD interface definitions
//
//	Description:	Interface definition file for the Hitachi HD44780U.
//
//	Creation Date:	2/2/00 11:49:37 PM
//
//	By:				A.C. Verbeck
//
//	This file is subject to the terms and conditions of the GNU General Public//	License.  See the file COPYING in the main directory of this archive//	for more details.//

#define LCD_ON				0x0E   
#define LCD_OFF				0x08
#define LCD_HOME			0x02  
#define LCD_CLEAR			0x01
#define LCD_NEW_LINE		0xC0

void	LCD_init(void);
void	LCD_clear(void);
void	LCD_reset(void);
void	LCD_command(UInt8 data);
void	LCD_putc(Char c);
void	LCD_puts(String s);

//
//	End of lcd.h
//

⌨️ 快捷键说明

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