Avoid magic numbers.

You declare the input pin, but don't use it when actually reading from the pin.