代码搜索结果
找到约 10,000 项符合
LCD 的代码
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.c
#include "lcd.h"
//#include "reg52.h"
#include "w77e58.h"
#include
void LCD_CmdWrite(unsigned char cmdReg, unsigned char cmdData)
{
LCD_Bus=cmdReg;
LCD_CS1=0;
LCD_RD=1;
lcd.lst
C51 COMPILER V7.06 LCD 08/06/2007 17:38:09 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN Lcd
lcd.h
//#include "reg52.h"
#include "w77e58.h"
#ifndef _LCD_H_
#define _LCD_H_
#define LCD_Bus P0
sbit LCD_WR=P2^0;
sbit LCD_RD=P2^1;
sbit LCD_CS1=P2^2;
sbit LCD_RS=P2^3;
sbit LCD_RST=
lcd.c
/*********************************************************************
* SEGGER MICROCONTROLLER SYSTEME GmbH *
* Solutions for real time microcontroller applica
lcd.h
/*
*********************************************************************************************************
* uC/GUI
* Universal
lcd.c
#include /*19264举例*/
#include
typedef unsigned char uchar;
typedef unsigned int uint;
sbit L_E = P2^0; // E: 使能 H ~ L
sbit L_RW = P2^1; // R/W: H读, L写
sbit
lcd.lst
C51 COMPILER V8.05a LCD 07/31/2007 19:19:11 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN lc