oha... das hatte ich gar nicht mehr in erinnerung... fuktioniert folgender code?

Code:
#include "asuro.h"

int main(void){
Init();
StartSwitch();
switched=0;
StatusLED(GREEN);
while(1){
if(switched==1) StatusLED(RED);
}
}