also so
Wenn ichs so mache kommt folgende fehlermeldungCode:#include "asuro.h" void Msleep(int dauer) { int z; for(z=0;z<dauer;z++) Sleep(72); } int main(void) { Init(); t=PollSwitch(); while(1){ if(t==0 && PollSwitch()==0){ StatusLED(RED); MotorSpeed(0,0); Msleep(350); } else { MotorDir(FWD,FWD); MotorSpeed(200,200); StatusLED(GREEN);} } return 0;
Lesezeichen