Ähm ich weiß nicht ob ich das jezt richtig verstanden habe aber ich hoffe dass das so richtig ist.

Code:
#include "asuro.h"

int main(void)
{	
	unsigned char ktaster;
	
	Init();
	StatusLED(GREEN)
	MotorDir(FWD;FWD);
	MotorSpeed(200,200);
	
	while(1){
	ktaster=Pollswitch();
	Pollswitch();
	if(switched==1){
	{StatusLED(RED);}
	else
	{StatusLED(GREEN);}
		
		switched=o
	}
	return 0;
}