lcdconf.h

来自「driver for LCD 320x240 with SED1335 cont」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef LCDCONF_H
#define LCDCONF_H

#define LCD_XSIZE      (320)   /* X-resolution of LCD, Logical coor. */
#define LCD_YSIZE      (240)   /* Y-resolution of LCD, Logical coor. */
#define LCD_VXSIZE		320 
#define LCD_VYSIZE		240
#define LCD_XSIZE_PHYS	LCD_XSIZE
#define LCD_YSIZE_PHYS	LCD_YSIZE

#define DPY_WIDTH    320 /* Display width */#define DPY_HEIGHT   240  /* Display height */#define DPY_SCALE    1   /* Display pixel scale *///#define DPY_BIT_BUFF 1   /* Define to support bit buffers */

#define LCD_BITSPERPIXEL 		(1)
#define LCD_NUM_COLORS			(2)
#define LCD_CONTROLLER 		(1335)

#define LCD_FIXEDPALETTE 			(1)
#define LCD_MIRROR_Y				(1)
#define LCD_MIRROR_X				(0)
#define LCD_SWAP_XY					(0)
#define LCD_SWAP_RB					 (0)
//#define LCD_MAX_LOG_COLORS			2				//?
#define LCD_REVERSE					0				// 镱镳钺钼囹

⌨️ 快捷键说明

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