#include
#define uchar unsigned char
#define uint unsigned int
//定义LCD1602的端口应用
#define RS_CLI PORTB&=~BIT(PB1)
#define RS_SEI PORTB|=BIT(PB1)
#define RW_CLI PORTB&=~BIT(PB2)
#define RW_SEI PORTB|=BIT(PB2)
#define EN_CLI PORTB&=~BIT(PB3)
#define EN_SEI PORTB|=BIT(PB3)
//设置命令
#define left
#define right
void delay(uint ms)
{
}
void delay_us(uint us)
{
}
void port_init(void)
{
}
void LCD_EN_Write(void)
{
}
void LCD_Write(uchar icom,uchar data)
{
}
void LCD_Clear(void)
{
}
void lcd_init(void)
{
}
void LCD_Write_Byte(uchar Line,uchar addr,uchar data)
{
}
void LCD_Write_Str(uchar Line,uchar addr,uchar *p)
{
}
void lcdshift(uchar DR,uchar n,uint nms )
{
}
void LCD_Display(void)
{
}
void main(void)
{
}
上一篇:ATMAGE16定时器0初始值计算总结
下一篇:ATMEGA16四线驱动LCD显示时间-DS1302
推荐阅读最新更新时间:2024-03-16 14:44