Resistor vs wire in Arduino, breadboard
With two resistors you just have a voltage divider.

You should have it like one of these.. Pick one.

 





simulate this circuit &ndash; Schematic created using CircuitLab