代码搜索结果

找到约 10,000 项符合 LCD 的代码

lcd.c

#include #include char code int2charLCD[]="0123456789"; void delay100us(unsigned); void write_LCD_command(unsigned command) { rw=WRITE; rs=COMMAND; enable=ENABLE;

lcd.h

/* LCD command */ #define TwoLine_8bit 56 // 0x38 #define CLEAR 1 // 0b00000001 #define CURSOR_HOME 2 // 0b00000010 #define CURSOR_LEFT 4 // 0b00000100 #define CURSOR_RIGHT 6 // 0b

lcd.h

#define CONSOLE_ENGLISH 0x00 #define CONSOLE_CHINESE 0x01 extern uint8 x_pos,y_pos;//当前列号0~15,行号0~7 extern uint8 inversed_save;//记录已经反显的行号,0~7,偶数行有效,如2、3行为一行文字,反显的话,bit2=1,bit3无意义 extern uint8 men

lcd.c

/*********************************************************************************** **液晶驱动V1.0 **8*8点阵为一个单元,而不区分汉字或字母 **y_pos行:0~7 **x_pos列:0~15 *************************************************

lcd.h

/************************************************************** The initial and control for 320×240 16Bpp TFT LCD----LTV350QV-F05 **************************************************************/ #if

lcd.c

#include #include "config.h" #define RST 0x00000400 /* P0.10*/ #define BUSY 0x00000800 /* P0.11 */ #define WWR 0x00001000 /* P0.12 */ #define RRD 0x00002000 /* P0.13 */

lcd.h

#include "..\inc\def.h" #include "..\inc\lcddef.h" extern unsigned char Welcome_BMP[]; void LCD_Init(void); void LCD_Printf(U8 line_num,char *fmt,...); //从某行起显示字符串 void Anti_Disp(U8 line_num);

lcd.c

#include #include #include #include #include #include "..\inc\option.h" #include "..\inc\def.h" #include "..\inc\44b.h" #include "..\inc\44