Was hällst du erstmal davon?
[/code]Code:#include "asuro.h" int main(void) { unsigned char ktaster; init(); StatusLED(GREEN) MotorDIR(FWD;FWD); MotorSpeed(200,200); while(1){ ktaster=Pollswitch(); Pollswitch(); if (ktaster>0) {StatusLED(RED);} else {StatusLED(GREEN);} } return 0; }
Lesezeichen