Wo ist die Funktion PollSwitch(), bekommst du von dort die richtige Variable für Taste?