代码搜索结果
找到约 10,000 项符合
LCD 的代码
lcd.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
lcd.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
lcd.c
#include
#include "..\inc\def.h"
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\lcdlib.h"
#include "..\inc\glib.h"
#include "..\inc\lcd.h"
void Test_LcdMono(vo
lcd.h
/***********************************************/
// 定义LCD控制器寄存器设置值等。
/***********************************************/
#ifndef __LCD_H__
#define __LCD_H__
//#include "..\Target\Def.h"
#d
lcd.c
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit rs=P3^4;
sbit rw=P3^5;
sbit e=P3^6;
sbit down=P2^1;
sbit up=P2^0;
sbi
lcd.c
#ifdef HY_12864B
#include "..\h\globle.h"
#include "..\h\lcd.h"
extern void RESET(void);
extern void INITIAL(void);
extern void CLEARPAGE(byte);
extern void ROLL(byte);
extern void CHAR_P
lcd.c
/*
* LCD interface example
* Uses routines from delay.c
* This code will interface to a standard LCD controller
* like the Hitachi HD44780. It uses it in 4 bit mode, with
* the hardware connected
lcd.h
/*
* LCD interface header file
* See lcd.c for more info
*/
/* write a byte to the LCD in 4 bit mode */
extern void lcd_write(unsigned char);
/* Clear and home the LCD */
extern void lcd_clear(
lcd.h
#ifndef __LCD_H__
#define __LCD_H__
void MoveViewPort(int depth);
void Test_LcdMono(void);
void Test_LcdG4(void);
void Test_LcdG16(void);
void Test_LcdColor(void);
void Test_Lcd(void);
#en