Um nochmal meinen Senf dazuzugeben, habe ich auch einen passenden Code entwickelt.
Code:
#include "asuro.h"

int main(void){
     while(1){
          StatusLED(GREEN);
          MotorDir(FWD,FWD);
          MotorSpeed(120,120);
          if(PollSwitch()!=0){
               MotorDir(BREAK,BREAK);
               MotorSpeed(0,0);
               StatusLED(RED);
               }
         }
while(1);
return 0;
}
Zu eventuellen elektronischen Fehler kann ich nix sagen ---> nur Programmierer

LG
Spacy Bar