Was du brauchst ist ein Debounce.
CONFIG DEBOUNCE im Handbuch hilft dir.
Oder mach ne
WHILE Pinx.x = 1 WEND
drumherum