程序:
#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
|