Is button pressed? If yes how long? Won´t work

Gigglerus:

Write a simple program to learn how to detect the button

I did.

Post that simple program.

...R