新手寻求LCD1602程序的帮助
时间:10-02
整理:3721RD
点击:
我们使用的数字显示器是LCD1602,程序有点不懂。
void Write_CMD(uchar cmd)
{
LCD_RS = 0;
LCD_RW = 1;
LCD_BusData(0xff);
LCD_DelayNop();
LCD_ENA = 1;
CheckBusy();
LCD_ENA = 0;
LCD_RW = 0;
LCD_BusData(cmd);
LCD_DelayNop();
LCD_ENA = 1;
LCD_DelayNop();
LCD_ENA = 0;
LCD_BusData(0xff);
LCD_BUSDATA()表示什么。
LCD_ENA有时什么意思?
void Write_CMD(uchar cmd)
{
LCD_RS = 0;
LCD_RW = 1;
LCD_BusData(0xff);
LCD_DelayNop();
LCD_ENA = 1;
CheckBusy();
LCD_ENA = 0;
LCD_RW = 0;
LCD_BusData(cmd);
LCD_DelayNop();
LCD_ENA = 1;
LCD_DelayNop();
LCD_ENA = 0;
LCD_BusData(0xff);
LCD_BUSDATA()表示什么。
LCD_ENA有时什么意思?
没人,还是我发错帖子了?
调用忙函数,使能(上面应有宏定义)。
哦哦,楼上的,感激不尽