Hallo also ich habe es jetzt hingekriget das er bei einem Programm fährt aber nur Rückwärts obwohl ich Vorwärts Programmiert habe woran kann das liegen?
Hier ist nochmal das Programm:
Code:
#include "asuro.h"
int main(void){
   Init();
   MotorDir(FWD,FWD);
   MotorSpeed(120,120);
   StatusLED(GREEN);
   while (PollSwitch()==0){
         SerWrite("Alles OK!\r\n",11);
   }
   MotorSpeed(0,0);
   StatusLED(RED);
   while (1){
         SerWrite("Aua!\r\n",6);
   }       
}