2019-03-25 18:43发布
wang5825 发表于 2018-11-14 11:36 非常感谢指导 MPLAB X IDE 5.05 XC8 2.0 新安装的 程序例子 也是 MPLAB X IDE 5.05 XC8 2.0 ...
最多设置5个标签!
MPLAB X IDE 5.05 XC8 2.0 新安装的 程序例子 也是 MPLAB X IDE 5.05 XC8 2.0 编写
编译失败
LCD_Lib.c:46:3: error: use of undeclared identifier 'LCD_D4' LCD_D4 = n & 0x01;
LCD_Lib.c:47:3: error: use of undeclared identifier 'LCD_D5' LCD_D5 = (n >> 1) & 0x01;
... ...
LCD_Lib.c:120:3: error: use of undeclared identifier 'LCD_D6_DIR' LCD_D6_DIR = 0;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
make[2]: *** [build/default/production/main.p1] Error 1
make[2]: *** Waiting for unfinished jobs....
nbproject/Makefile-default.mk:114: recipe for target 'build/default/production/main.p1' failed
make[2]: *** [build/default/production/LCD_Lib.p1] Error 1
make[1]: *** [.build-conf] Error 2
(908) exit status = 1
make: *** [.build-impl] Error 2
nbproject/Makefile-default.mk:122: recipe for target 'build/default/production/LCD_Lib.p1' failed
make[2]: Leaving directory 'C:/Users/higer/Desktop/PIC16F887LCD1602/pic01.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/higer/Desktop/PIC16F887LCD1602/pic01.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
请教一位老师 说应该在 头文件中加一个包含PIC16F887的语句 已加入 出现上述错误
缺少端口定义啊,就是LCD连的那几根线
一周热门 更多>