#include "io430x14x.h"
typedef unsigned int uint;
typedef unsigned char uchar;
#define SCL_H P3OUT |= BIT6//此IO在硬件上需要更改
#define SCL_L P3OUT &= ~BIT6
#define SDA_H P3OUT |= BIT7
#define SDA_L P3OUT &= ~BIT7
#define SDA_IN
#define SDA_OUT P3DIR |= BIT7
#define SDA_VAL P3IN&BIT7
#define DataDir
#define DataPort
#define Busy
#define CtrlDir
#define CLR_RS P5OUT&=~BIT0
#define SET_RS P5OUT|=BIT0
#define CLR_RW P5OUT&=~BIT1
#define SET_RW P5OUT|=BIT1
#define CLR_EN P5OUT&=~BIT2
#define SET_EN P5OUT|=BIT2
#define _NOP()
#define
unsigned char ge,shi,bai,qian,wan;
int dis_data;
uchar BUF[8];
void Delay5us(void)
{
}
void Delay5ms(void)
{
}
void delay(uint x)
{
}
void BH1750_Start()
{
}
void BH1750_Stop()
{
}
void BH1750_SendACK(void)
{
}
void mnack(void)
{
}
uchar BH1750_RecvACK()
{
}
void write1(void)
{
}
void write0(void)
{
}
void BH1750_SendByte(unsigned char dat)
{
}
unsigned char BH1750_RecvByte()
{
}
[page]
void Single_Write_BH1750(unsigned char REG_Address)
{
}
void Init_BH1750()
{
}
void Multiple_Read_BH1750(void)
{
}
void conversion(unsigned int temp_data)
{
}
void WaitForEnable(void)
{
}
void WriteCommandLCM(unsigned char CMD,uchar Attribc)
{
}
void WriteDataLCM(unsigned char dataW)
{
}
void InitLcd()
{
}
void DisplayOneChar(unsigned char X,unsigned char DData)
{
}
void inmaindispaly()
{
}
int main( void )
{
}
上一篇:MSP430F44X单片机SPI接口驱动C语言程序
下一篇:MSP430F149单片机的内部定时器A定时1秒钟实现LED闪烁
推荐阅读最新更新时间:2024-03-16 14:30