代码搜索结果
找到约 10,000 项符合
LCD 的代码
lcd.c
/**************************************************************
The initial and control for 320×240 16Bpp TFT LCD--LTS350Q1_PE1 & LQ035Q7DB02
********************************************************
lcd.h
/**************************************************************
The initial and control for 240×320 16Bpp TFT LCD----LtS350Q1 & LQ035Q7DB02
**********************************************************
lcd.c
#include
#include"Config.h"
#include"IOCfg.c"
#include"TimeDLY.h"
#include"LCD.h"
//IO输入输出控制
void InitLCDData(bit i)
{
if(i==1) LCDData = 0xff;
else LCDData = 0x00;
}
lcd.h
#ifndef _LCD_H_
#define _LCD_H_
// 函数功能:数据口输入输出控制
void InitLCDData(bit i);
// 函数功能:指令/数据选择
// i=1,数据;i=0,指令
void SetLCD_RS(bit);
// 函数功能:读写控制
// i=1,读; i=0,写
void SetLCD_RW(bit i);
lcd.lst
C51 COMPILER V7.09 LCD 08/24/2007 09:37:12 PAGE 1
C51 COMPILER V7.09, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN LCD
lcd.c
#include
#include"Config.h"
#include"IOCfg.c"
#include"TimeDLY.h"
#include"IIC_PCA8574.h"
#include"LCD.h"
bit x;
//IO输入输出控制
void InitLCDData(bit i)
{
if(i==1) x=PCA8574_PutOne
lcd.h
#ifndef _LCD_H_
#define _LCD_H_
// 函数功能:数据口输入输出控制
void InitLCDData(bit i);
// 函数功能:指令/数据选择
// i=1,数据;i=0,指令
void SetLCD_RS(bit);
// 函数功能:读写控制
// i=1,读; i=0,写
void SetLCD_RW(bit i);