ahhhh, jezt verstehe ich! Danke!

so, programm geflasht. leider passiert beim drücken der tasten nichts.
ich hoffe das wird im passenden thema noch geklärt.

Code:
#include "asuro.h" 


int main(void) { 

int RW=0; 
int a=1; 
Init(); 
while(a==1) { 

  if (RW==0) { 
  
  while (PollSwitch()==0) { 
    BackLED(OFF,OFF); 
    MotorDir(FWD,FWD); 
    MotorSpeed(120,120); 
   }    
  while (PollSwitch()>0){ 
    BackLED(ON,ON); 
    RW=1; 
} 
} 

 else if (RW==1) { 
  
  while (PollSwitch()==0) { 
    BackLED(ON,ON); 
    MotorDir(RWD,RWD); 
    MotorSpeed(120,120); 
   }    
  while (PollSwitch()>0){ 
    BackLED(OFF,OFF); 
    RW=0; 
   } 
} 
return(0);} 

}