void SwitchTest(void)
{
unsigned char sw,tmp;
MotorDir(FWD,BREAK);

sw = PollSwitch();
StatusLED(OFF);
FrontLED(OFF);
BackLED(OFF,OFF);
MotorSpeed(0,0);
tmp = 0;

if (sw & 0x01)
MotorSpeed(200,0);
if (sw & 0x02) {
BackLED(OFF,ON);
tmp = ON;
}
if (sw & 0x04)
BackLED(ON,tmp);
if (sw & 0x0
FrontLED(ON);
if (sw & 0x10)
RED_LED_ON;
if (sw & 0x20)
GREEN_LED_ON;
}
/* END Switch Test ------------------------------ */

Das geht nicht!

und folgendes geht auch nicht.

int main(void)
{
Init(); //Welche Bedeutung?
unsigned char Taster;
Taster = PollSwitch();
if(Taster > 0 )
{
SerWrite("Hallo du da!",12);
}
while(1);
return 0;
}