Hi,

hier das gesamte Programm:

Code:
#include "asuro.h"


int main (void)
{

	unsigned char taste;
	
Init();
	
	
	int i;
	i = 0;
	
while(1){

	
taste = PollSwitch();



StatusLED(GREEN);
MotorDir(FWD,FWD);
MotorSpeed(160,165);	
	
if (taste > 1) { StatusLED(RED); BackLED(ON,ON); MotorDir(RWD,BREAK); MotorSpeed(100,0); i++;}
while (i < 10);


	}
	return 0;
}