Programming Help Switch debounce

Hey,

Hello, I have a question.... I have a Arduino Mega and I will use it with one or more Switches with Link2Fs Keys. But in my Sketch ... the code for Link2fs will be infinitely sent to my PC, I think because I haven`t the debounce . Need help X0

Here is my Sketch:

http://pastebin.com/uPe6Am0s

Please read the "How to use this forum" next time. Past you're whole code here (in code tags).

But to debounce switches I use the Bounce2 library. Easy to use and works like a charm.

When you post your code here I will look at it.

Make sure there is actually a debounce problem before trying to fix the wrong problem.

...R