小弟刚学PIC刚装了 MP750和picc8.05 安装完好
同样下面一个这样的程序
#include<pic.h>
void main()
{
;
}
在建立工程向导里面用10F200 建立工程 就能编译成功 但是10F206就不行了出错
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:pic10.cce".
Clean: Done.
Executing: "C:HT-PICBINPICC.EXE" -C -E"10.cce" "10.c" -O"10.obj" -I"C:HT-PICinclude" -Zg9 -O -ASMLIST -Q -MPLAB -10F206
Error[000] C:HT-PICincludepic10f20x.h 21 : ; expected
Halting build on first failure as requested.
BUILD FAILED: Fri Apr 02 10:00:59 2010
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
static volatile unsigned char CMCON @ 0x07
这里少了个分号
that's ancient.
"Error[000] C:HT-PICincludepic10f20x.h 21 : ; expected "
it is telling you that in line 21 of file pic10f20x.h, the compiler is expecting a ';' but didn't get it.
一周热门 更多>