---Code:#include "asuro.h" #define POLLSWITCH sw // PrintInt(sw); /* will wissen was da kommt */ int main(void) { Init (); start: MotorDir(FWD,FWD); MotorSpeed(250,233); StatusLED(GREEN); FrontLED(ON); if (sw & 0x01) { MotorSpeed(0,0); else {goto start;} } stop: MotorSpeed(0,0); while(1); return 0; }
ok es geht immer noch nicht....
wo liegt mein fehler....?
danke marvin
Lesezeichen