I'm building an Arduino based alarm monitor. I have normally closed door sensors installed and wired to my Arduino.
5v -> door sensor -> digialPin
Normally the circuit is closed. Do I need a resistor between 5v and the digital pin? When a digitalPin is set to INPUT it seems to have a pretty high resistance?