代码搜索结果
找到约 10,000 项符合
LCD 的代码
lcd.c
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
lcd.c
#include
#define LCD_DATA PORTB //8位数据联接在PORTB上
#define CLR_RS PORTD&=~1//RS清0
#define SET_RS PORTD|=1 //RS置1
#define CLR_E PORTD&=~(1
lcd.lst
A51 MACRO ASSEMBLER LCD 12/22/2008 21:56:52 PAGE 1
MACRO ASSEMBLER A51 V7.02
OBJECT MODULE PLACED IN lcd.OBJ
ASSEMBLER INVO
lcd.lst
C51 COMPILER V7.06 LCD 04/02/2007 15:23:04 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN .\o
lcd.c
#include
#include
#include "lcd.h"
#include "main.h"
/****************全局变量定义*******************/
uchar row=0,col=0,cbyte; /*行(页)x,列y,输出数据*/
bit xy; /*画
lcd.h
#define uchar unsigned char
/***********常用操作命令和参数定义***************/
#define DISPON 0x3f /*显示on*/
#define DISPOFF 0x3e /*显示off */
#define DISPFIRST 0xc0 /*显示起始行定义*/
#def