AVR Studio 4 19编译不了程序,W7系统的,求帮忙! 5
程序:#include<avr/io.h>#include<util/delay.h>intmain(void){DDRC=0XFF;while(1){PORTC=0X0...
程序:
#include<avr/io.h>
#include<util/delay.h>
int main(void)
{ DDRC=0XFF;
while(1)
{ PORTC=0X00;
_delay_ms(100);
PORTC=0Xff;
_delay_ms(100);
}
}
编译后:Build started 12.1.2013 at 13:31:11
Build failed with 1 errors and 0 warnings...
Loaded plugin Proteus VSM Viewer
Loaded plugin STK500
Loaded plugin AVR GCC
Loaded partfile: D:\AVR Tools\PartDescriptionFiles\ATmega164A.xml 展开
#include<avr/io.h>
#include<util/delay.h>
int main(void)
{ DDRC=0XFF;
while(1)
{ PORTC=0X00;
_delay_ms(100);
PORTC=0Xff;
_delay_ms(100);
}
}
编译后:Build started 12.1.2013 at 13:31:11
Build failed with 1 errors and 0 warnings...
Loaded plugin Proteus VSM Viewer
Loaded plugin STK500
Loaded plugin AVR GCC
Loaded partfile: D:\AVR Tools\PartDescriptionFiles\ATmega164A.xml 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询