Hallo

Meist hilft schon eine einfache Überprüfung der Tastenwerte:
Code:
#include "asuro.h"

int t1, t2;

int main(void)
{

	Init();
	MotorSpeed(200,200);
   while(1)
	{
	   t1=PollSwitch();
	   t2=PollSwitch();
	   if((t1>0) && (t1==t2))
	   {
			BackLED(t1 & 0b110000, t1 & 0b000011);
			StatusLED((t1 & 0b001100) && 1);
		}
		else
		{
		   BackLED(OFF,OFF);
		   StatusLED(0);
		}
	}
   return 0;
}
Gruß

mic