lcdconf_1335_m1_m240x128.h

来自「uCGUI」· C头文件 代码 · 共 31 行

H
31
字号
/*************************************************************************************************************
                                                   uC/GUI
                                               嵌入式通用图形软件
文    件: LCDConf_1335_M1_M240x128.h
描    述: Sample configuration file
*************************************************************************************************************/
#ifndef LCDCONF_H
#define LCDCONF_H

/*************************************************************************************************************
                   General configuration of LCD
*************************************************************************************************************/
#define LCD_XSIZE          (240)       /* X-resolution of LCD, Logical coor. */
#define LCD_YSIZE          (128)       /* Y-resolution of LCD, Logical coor. */
#define LCD_CONTROLLER     (1335)
#define LCD_BITSPERPIXEL   (1)
#define LCD_EXTENDED_WAIT  (1)
#define LCD_FIXEDPALETTE   (0)

/*************************************************************************************************************
                   Simple bus configuration
*************************************************************************************************************/
void LCD_X_Write00(char c);
void LCD_X_Write01(char c);
char LCD_X_Read00(void);
#define LCD_WRITE_A1(Byte) LCD_X_Write01(Byte)
#define LCD_WRITE_A0(Byte) LCD_X_Write00(Byte)
#define LCD_READ_A0()      LCD_X_Read00()

#endif /* LCDCONF_H */

⌨️ 快捷键说明

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