Code:
#include "asuro.h" //OK
int main(void) //OK
{ //OK
Init(); //OK
MotorDir(FWD,FWD); //OK
MotorSpeed(255,0); //OK
unsigned int i;
StatusLED(RED); //OK
for (i = 0; i < 282; i++) { //OK
Sleep(10); } //OK
StatusLED(GREEN);
for (i = 0; i < 282; i++) { //OK
Sleep(10); } //OK
StatusLED(OFF); //OK
MotorDir(RWD,RWD); //OK
MotorSpeed(0,255); //OK
FrontLED(ON); //OK
for (i = 0; i < 282; i++) { //OK
Sleep(10); } //OK
FrontLED(OFF); //OK
BackLED(ON,OFF); //OK
for (i = 0; i < 282; i++) { //OK
Sleep(10); } //OK
BackLED(ON,OFF); //OK
for (i = 0; i < 282; i++) { //OK
Sleep(10); } //OK
BackLED(OFF,OFF); //OK
StatusLED(GREEN); //OK
for (i = 0; i < 282; i++) { //OK
Sleep(10); } //OK
//OK
while(1);
return 0;
} //OK
ich habs compalier und des kam raus
Code:
C:\ASURO_src\FirstTry>make all
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Size before:
test.elf :
section size addr
.text 1512 0
.data 0 8388704
.bss 1 8388704
.noinit 0 8388705
.eeprom 0 8454144
.stab 3120 0
.stabstr 1698 0
Total 6331
Size after:
test.elf :
section size addr
.text 1512 0
.data 0 8388704
.bss 1 8388704
.noinit 0 8388705
.eeprom 0 8454144
.stab 3120 0
.stabstr 1698 0
Total 6331
Errors: none
-------- end --------
> Process Exit Code: 0
es hat keine hex datei erstellt
Lesezeichen