本人初次使用PIC类单片机,pic16f1823 c程序,用MPLAP IDE8.92和HI-TECH PICC编译时报错如下,完全不知道怎么回事,报错也看不懂,请格纹大神帮忙指点
Build E:\PIC\PIC for device 16F1823
Using driver D:\Program Files (x86)\HI-TECH Software\PICC\9.80\bin\picc.exe
Make: The target "E:\PIC\main.p1" is out of date.
Executing: "D:\Program Files (x86)\HI-TECH Software\PICC\9.80\bin\picc.exe" --pass1 E:\PIC\main.c -q --chip=16F1823 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [228] main.pre; 1.1 illegal character (0xFFFFFF84)
Error [285] main.pre; 1.2 no identifier in declaration
Warning [374] main.pre; 1.2 missing basic type; int assumed
Error [314] main.pre; 1.2 ";" expected
Warning [228] main.pre; 1.3 illegal character (0x1C)
Error [285] main.pre; 1.4 no identifier in declaration
Warning [374] main.pre; 1.4 missing basic type; int assumed
Error [314] main.pre; 1.4 ";" expected
Warning [228] main.pre; 1.5 illegal character (0x5)
|