我想编写一个关于12864LCD的程序,可是在定义了引脚之后出现如下错误提示:
..HARDWARE12864lcd.c(48): error: #29: expected an expression。
我的声明程序如下:#define RS  

Bout(0);#define RW  

Bout(1);
#define EN  

Bout(2);
#define DB0  

Bout(3);
#define DB1  

Bout(4);
#define DB2  

Bout(5);
#define DB3  

Bout(6);
#define DB4  

Bout(7);
#define DB5  

Bout(8);
#define DB6  

Bout(9);
#define DB7 PBout(10);
#define IDB7 PBin(10);
#define CSA PBout(11);
#define CSB PBout(12);
错误提示出现在如下几句程序里:EN =1;
RW =0;RS =0
DB0=1;
DB1=0;DB2=0;DB3=0;DB4=0;DB5=0;DB6=0;DB7=0;
EN=0;
求解我的定义哪出了问题。
---------------------------------
这个错误是怎么回事?我也刚入门,碰到好多这个错误
一周热门 更多>