Or do i just connect to any digital pin and just specify it as a digital input and use digitalRead to get the values?
Yes.
Better still use an interrupt pin so you don't have to continually look at the pin with a digital read.
Or do i just connect to any digital pin and just specify it as a digital input and use digitalRead to get the values?
Yes.
Better still use an interrupt pin so you don't have to continually look at the pin with a digital read.