And now I have to put the cables into pin2 and ground?!?
After setting pin 2 as input and turning on the internal pullup resistor, yes.
Would you be so kind, to send me the complete programm code?
If you send me some money. I've already spelled out everything you need to do. It's your turn to do something.