Mir ist etws augefallen.Namlich:
Code:
#include "asuro.h" 

unsigned char taste; 
int main(void){ 
   Init(); 
   taste=PollSwitch(); 
   MotorDir(FWD,FWD); 
   --->while (taste==0){ <---//Anwiesung wiederholen bis taste==0
      MotorSpeed(120,120); 
      StatusLED(GREEN); 
      taste=PollSwitch();} 
   MotorDir(BREAK,BREAK); 
   while(1); 
   return 0; 
   }
Bessr zu schreiben währe while(taster>0){.Oder irrre ich mich da???