|
我的编译环境是MPLAB IDE v8.00,PICC-18 V9.50,但是会出现以下错误,程序是北京航空航天大学刘和平编的《PIC18FXXX单片机程序及应用》中第七章的例2,但是在编译时出现以下问题:
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\PICC-Source\PIC18F458\main.obj".
Clean: Deleted file "D:\PICC-Source\PIC18F458\main.cce".
Clean: Deleted file "PIC18F458.cof".
Clean: Done.
Executing: "C:\Program Files\HI-TECH Software\PICC-18\9.50\BIN\PICC18.EXE" -C -E"main.cce" "main.c" -O"main.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18F458
Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Warning[349] D:\PICC-Source\PIC18F458\main.c 43 : non-prototyped function declaration for ""
Warning[349] D:\PICC-Source\PIC18F458\main.c 43 : non-prototyped function declaration for "LOW_ISR"
Executing: "C:\Program Files\HI-TECH Software\PICC-18\9.50\BIN\PICC18.EXE" -E"PIC18F458.lde" "D:\PICC-Source\PIC18F458\main.obj" -M"PIC18F458.map" -O"PIC18F458.cof" -O"PIC18F458.hex" -Q -MPLAB -18F458
Memory Usage Map:
Program space:
CODE used 80h ( 128) of 8000h bytes ( 0.4%)
LOWCODE used 0h ( 0) of 8000h bytes ( 0.0%)
Data space:
RAM used 0h ( 0) of 600h bytes ( 0.0%)
BIGRAM used 2h ( 2) of 600h bytes ( 0.1%)
COMRAM used 1h ( 1) of 60h bytes ( 1.0%)
NVRAM used 0h ( 0) of 100h bytes ( 0.0%)
EEPROM space:
EEDATA used 0h ( 0) of 100h bytes ( 0.0%)
External data memory:
None available
ID Location space:
IDLOC used 0h ( 0) of 8h nibbles ( 0.0%)
Configuration bits:
CONFIG used 0h ( 0) of 7h words ( 0.0%)
Summary:
Program space used 80h ( 128) of 8000h bytes ( 0.4%)
Data space used 3h ( 3) of 600h bytes ( 0.2%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
External data memory None available
ID Location space used 0h ( 0) of 8h nibbles ( 0.0%)
Configuration bits used 0h ( 0) of 7h words ( 0.0%)
Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Loaded D:\PICC-Source\PIC18F458\PIC18F458.cof.
BUILD SUCCEEDED: Mon Dec 31 10:22:58 2007
点击此处下载ourdev_195652.txt(文件大小:2K)
点击此处下载ourdev_195653.txt(文件大小:5K)
请教是什么问题?
然后定时器中断应该怎么做?
小弟刚想学学怎么用PIC单片机,恳请高手指教,谢谢! |
阿莫论坛20周年了!感谢大家的支持与爱护!!
月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!
|