代码搜索结果
找到约 10,000 项符合
LCD 的代码
lcd._c
#include "main.h"
#define uchar unsigned char
#define uint unsigned int
#define LCD_EN_PORT PORTA //数据寄存器,以下2个要设为同一个口
#define LCD_EN_DDR DDRA //数据方向寄存器
#define LCD_RS_PORT POR
lcd.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define LCD_EN_PORT PORTA //数据寄存器,以下2个要设为同一个口
#define LCD_EN_DDR DDRA //数据方向寄存器
#de
lcd.s
.module lcd.c
.area text(rom, con, rel)
.dbfile E:\尤虎\程序设计\AVR单片机\MAGE16\ADCAND~1\lcd.c
.dbfunc e delay _delay fV
; i -> R20,R21
; n -> R16,R17
.even
_delay::
x
lcd.h
#ifndef _lcd_h
#define _lcd_h 1
extern void LCD_write_string(unsigned char X,unsigned char Y,unsigned char *s); //写字符串
extern void LCD_write_char(unsigned char X,unsigned char Y,unsigned ch
lcd.lis
.module lcd.c
.area text(rom, con, rel)
0000 .dbfile E:\尤虎\程序设计\AVR单片机\MAGE16\ADCAND~1\lcd.c
0000 .dbfunc e del
lcd.txt
我这几天在玩这个,有机会交流一下啊,兄弟!!
参考程序:
RS EQU P3.7
RW EQU P3.6
E EQU P3.5
mov p3,#0ffh
MOV P1,#01H ;清除屏幕
ACALL ENABLE
MOV P1,#38H ;8位点阵
ACALL ENABLE
MOV P1,#0FH ;开显示
ACALL ENABLE
MOV P1,
lcd.plg
Build target 'Target 1'
compiling lcd.C...
linking...
creating hex file from "lcd.omf"...
"lcd.omf" - 0 Error(s), 0 Warning(s).
lcd.lst
C51 COMPILER V6.12 LCD 01/12/2005 11:39:24 PAGE 1
C51 COMPILER V6.12, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN .\l
lcd.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
DaveTm { 0,0,0,0,0,0,0,0 }
Target (Tar
lcd.lnp
"lcd.obj"
TO "lcd.omf"
RAMSIZE(256)