No need for an external resistor at all if you do it correctly:- http://www.thebox.myzen.co.uk/Tutorial/Inputs.html