PC機(jī)與單片機(jī)在串口通訊
160的配置文件:
------------------------------------1602.h開(kāi)始---------------------------------------------
#define uchar unsigned char
#define uint unsigned int
#define RS
#define RW
#define EN
#define INDATA
#define OUTDATA
/
uchar lcd_bz(void)
{
}
/
void lcd_write(uchar cmd)
{
}
/
void lcd_write_cmd(uchar cmd)
{
}
/
void lcd_write_data(uchar data)
{
}
//
void lcd_setxy(uchar x, uchar y)
{
}
/
void lcd_init(void)
{
}
/
void lcd_clean(uchar lcd_line)
{
}
------------------------------------1602.h結(jié)束--------------------------------------------
串口設(shè)置的頭文件
------------------------------------com.h開(kāi)始--------------------------------------------
#define uchar unsigned char
#define uint unsigned int
#define
#define
/
}
------------------------------------main.c結(jié)束--------------------------------------------
評(píng)論