Tach schön,

ich habe mir den quellcode des selbsttestes angeschaut und mir dieses programmchen gebastelt um die taster mal abzufragen:

#include "asuro.h"

int main(Void)

{

Init();
unsigned char sw;
BackLED (OFF,OFF);
StatusLED (GREEN);
MotorSpeed (0,0);
for ( ; ; )
{
sw = PollSwitch();
if (sw == 0x01) {MotorDir (FWD,FWD); MotorSpeed (170,200);BackLED (OFF,ON);}
if (sw == 0x02) {MotorDir (RWD,RWD);MotorSpeed (180,150);StatusLED (RED);}
if (sw == 0x04) {MotorDir (FWD,FWD);MotorSpeed (160,220);BackLED (ON,ON);}
if (sw == 0x0 {MotorDir (FWD,FWD);MotorSpeed (220,160);BackLED (ON,ON);}
if (sw == 0x10) {MotorDir (RWD,RWD);MotorSpeed (150,180);StatusLED(RED);}
if (sw == 0x20) {MotorDir (FWD,FWD); MotorSpeed (200,170);BackLED(ON,OFF);}
}

}

Da ich auch erst seit kurzem daran bastle, verstehe diesen beitrag bitte nur als stütze und nicht als die lösung deines problems

@der Dashfinder