Button with led (how to connect?)

Pancra85:
wait... retrolefty is right, when button is not pressed the output is floating, a solution anyone?

Well you could just wire an additional resistor of say 10k ohms from the input pin to ground. Nothing like a real pull-down when you just need a real pull-down. :wink:

Lefty