Hab das jetzt so verändert(ziemlich primitiv^^):
Code:
#include "RP6RobotBaseLib.h"

#define MOVE_SPEED 50
#define ROTATE_SPEED 40
void bumpersStateChanged(void)
{
   if(bumper_left || bumper_right)
   {
      moveAtSpeed(0,0);
      move(MOVE_SPEED, BWD, DIST_MM(300), BLOCKING);
      rotate(TURN_SPEED, LEFT, 90, BLOCKING);
}

int main(void)
{
   initRobotBase();
   setLEDs(0b111111);
   mSleep(2500);
   setLEDs(0b001001);
    BUMPERS_setStateChangedHandler(bumpersStateChanged);
   
   powerON();

    changeDirection(FWD);
   moveAtSpeed(80,80);   

   while(true)
   {
      setLEDs(0b100100);
   }
   return 0;
}
Raus kommt das hier:
Code:
> "make.exe" all

-------- begin --------
avr-gcc (WinAVR 20100110) 4.3.3
Copyright (C) 2008 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.

make.exe: *** No rule to make target `Prog01.elf', needed by `elf'.  Stop.

> Process Exit Code: 2
> Time Taken: 00:00
Kann es sein,dass die Schleife irgendwie nicht läuft?Also bei nem andren Programm war da mehr mit Blablabla(true) .Am Ende kommt ja while(true).Liegt hier der Fehler?