本帖最后由 AttTiv 于 2012-7-16 15:32 编辑
大家好,请问一下,我用的PIC18F45K80,添加头文件 PIC18.h 对不对,问什么我编译后,所有的寄存器名说未定义,比如“TX9”、“RX9”、“BRG”、"SPEN"、“TRMT”等等这些寄存器名,编译器都 说是 未定义呢???是不是头文件没添加对了?? 我添加 htc.h也试过了,还是这样
编译器用的PICC18 9.80 PRO
IDE 是 8.83版本
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
谢谢surf_131提醒,下了个3.42版本的,能认识45K80了
Warning [1385] E:weiMCUpicPIC1819264.c; 246. variable "_RC1" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3875)
Warning [1385] E:weiMCUpicPIC1819264.c; 255. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 258. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 282. variable "_RC0" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3873)
Warning [1385] E:weiMCUpicPIC1819264.c; 283. variable "_RC1" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3875)
Warning [1385] E:weiMCUpicPIC1819264.c; 292. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 295. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 319. variable "_RC0" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3873)
Warning [1385] E:weiMCUpicPIC1819264.c; 320. variable "_RC1" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3875)
Warning [1385] E:weiMCUpicPIC1819264.c; 328. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 331. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 538. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 542. variable "_RD7" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3925)
Warning [1385] E:weiMCUpicPIC1819264.c; 546. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
Warning [1385] E:weiMCUpicPIC1819264.c; 548. variable "_RC2" is deprecated (declared at C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f4620.h:3883)
一周热门 更多>