Better be on the safe side. Richards #91 is the one I would use.

But then you can ditch all that stuff if your ports support internal pull up and just read them in software as described in #86.

Ioannis