one side of the NC switch to GND the other side to the digital pin and a pullup to 5v(so that when the switch is pressed and becomes open, the pin is 5v(HIGH))
one side of the NC switch to GND the other side to the digital pin and a pullup to 5v(so that when the switch is pressed and becomes open, the pin is 5v(HIGH))