代码搜索结果
找到约 10,000 项符合
LCD 的代码
lcd.c
/*******************************************************************************
程序名称:LCD驱动程序
显示功能:显示ASCII码
硬件接法:D/I---------A0
R/W---------A1
E-----------读写0xA000~0xA003时,选中
lcd.h
/*******************************************************************************
程序名称:LCD驱动程序
显示功能:显示ASCII码、小汉字库
硬件接法:D/I---------A0
R/W---------A1
E-----------读写0xA000~0xA003
lcd.lst
C51 COMPILER V6.12 LCD 03/28/2007 21:57:40 PAGE 1
C51 COMPILER V6.12, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN .\L
lcd.c
#include "spce061.h"
#include "global.h"
#include "LCD.h"
/////////////////lcd control/////////////////
#define lcd_busy 0x2000
#define setb_req 0x4000
#define reset 0x7fff
uint re;
con
lcd.h
void write_data(uint date); //write a data
void clrscreen();
void displayscreen(uint *p,uint type);
void draw_pic(uint *p,uint type);
void initLCD();
void dispnumber(uint xaddr,uint yaddr,ui
lcd.h
//LCDCON1
#define CLKVAL 4
#define WLH 0x02
#define WDLY 0x01
#define MMODE 0x00
#define DISMODE 0x01
#define INVCLK 0x00
#define INVLINE 0x00
#define INVFRAME 0x00
#define IN