Benutze "pinMode(Pin, INPUT_PULLUP)". Dafür brauchst Du keine externe Beschaltung.

Gruß
Moppi