📄 rt12864_lcd.h
字号:
#ifndef __RT12864
#define __RT12864
#include <msp430x14x.h>
//Interface To MCU
#define LCD_EN_PORT P1OUT
#define LCD_RW_PORT P1OUT
#define LCD_RS_PORT P1OUT
#define CONTROL_DIR P1DIR
#define LCD_DATA_PORT P2OUT
#define LCD_DATA_DIR P2DIR
#define LCD_DATA_PIN P2IN
#define LCD_RS BIT1
#define LCD_RW BIT2
#define LCD_EN BIT3
#define LCD_DATA 0xff
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -