> What do you mean by "it doesn't work" ? Does it lock up, or does it not stop ? Firstly, it waits for the clear key. Then it should wait until no keys are pressed anymore. In the routine there is wait-loop that i don't have to matter about key bounces. But I can press every key, but the routine does not wait. cya, Matthias