lcd.h

来自「长沙理工自己的实验程序」· C头文件 代码 · 共 26 行

H
26
字号
 /****************************************************************************
** File Name:          PS/2键盘的使用
** Createed By:        Wangchangsong
** Create Date:        07/24/2008
** Version:            1.0
** Descriptions:       led display
**
**---------------------------------------------------------------------------
** Modified By:
** Modified Date:
** Version:
** Descriptions:
**
****************************************************************************/

#ifndef __lcd_h
#define __lcd_h
#include <iom128v.h>
#define req asm("sbi 0x03,6")
#define cl_req asm("cbi 0x03,6")
#define dat asm("sbi 0x18,0")
#define cl_dat asm("cbi 0x18,0")
#define cl_reset asm("cbi 0x15,3")
#define set_reset asm("sbi 0x15,3")
#define LCD 0x9000
#endif

⌨️ 快捷键说明

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