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

📄 p18_lcd.inc

📁 PKE(被动无钥门禁系统
💻 INC
字号:


	extern LCD.DrawString, LCD.Init, LCD.DrawChar, LCD.Clear, LCD.SetLine1, LCD.SetLine0, LCD.DrawBuffer

	extern LCD.Buffer.Line0, LCD.Buffer.Line1




	ifndef LCD.Clear_CMD
#define LCD.Clear_CMD			0x01
	endif
	ifndef LCD.EntryMode_CMD
#define LCD.EntryMode_CMD		0x04
	endif
	ifndef LCD.IncreaseCursor_BIT
#define LCD.IncreaseCursor_BIT	0x02
	endif
	ifndef LCD.ShiftDisplay_BIT
#define LCD.ShiftDisplay_BIT	0x01
	endif
	ifndef LCD.Mode_CMD
#define LCD.Mode_CMD			0x08
	endif
	ifndef LCD.DisplayOn_BIT
#define LCD.DisplayOn_BIT		0x04
	endif
	ifndef LCD.CursorOn_BIT
#define LCD.CursorOn_BIT		0x02
	endif
	ifndef LCD.BlinkingOn_BIT
#define LCD.BlinkingOn_BIT		0x01
	endif
	ifndef LCD.Shift_CMD
#define LCD.Shift_CMD			0x10
	endif
	ifndef LCD.DisplayShift_BIT
#define LCD.DisplayShift_BIT	0x08
	endif
	ifndef LCD.ShiftRight_BIT
#define LCD.ShiftRight_BIT		0x04
	endif
	ifndef LCD.Function_CMD
#define LCD.Function_CMD		0x20
	endif
	ifndef LCD.EightBit_BIT
#define LCD.EightBit_BIT		0x10
	endif
	ifndef LCD.TwoLines_BIT
#define LCD.TwoLines_BIT		0x08
	endif
	ifndef LCD.X5Y10_BIT
#define LCD.X5Y10_BIT			0x04
	endif
	ifndef LCD.SetCursor_CMD
#define LCD.SetCursor_CMD		0x80
	endif
	ifndef LCD.Line0_ADR
#define LCD.Line0_ADR			0x00
	endif
	ifndef LCD.Line1_ADR
#define LCD.Line1_ADR			0x40
	endif
	

⌨️ 快捷键说明

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