Rufe PollSwitch(); noch einmal vor der while(1) Schleife auf !

Code:
#include "asuro.h"

int main(void)
{
   Init();
   
   StatusLED (GREEN);
   MotorDir (RWD,RWD);
   MotorSpeed (120,120);
   
   
   PollSwitch();
   while (1)
{   
   if(PollSwitch()>0)
   {StatusLED (RED);
   BackLED (ON,ON);
   MotorSpeed (0,0);
   }
}   
   
   
   return 0;
}
Wenn das nicht geht , versuchs hiermit :

Code:
#include "asuro.h"

int main(void)
{
   Init();
   
   StatusLED (GREEN);
   MotorDir (RWD,RWD);
   MotorSpeed (120,120);
   
   
   
   while (1)
{   
PollSwitch();
   if(PollSwitch()>0)
   {StatusLED (RED);
   BackLED (ON,ON);
   MotorSpeed (0,0);
   }
}   
   
   
   return 0;
}