Hi everyone.

I'm working on my first circuit using the12F683 and I'd like to add a push button as an input. Would I be right in assuming that:

A pull-up resistor say 10k from the +5v line onto the chosen input GPIO.n and a push button connected from GPIO.n to ground should do the job?

This to my mind would leave GPIO.n at +5v until pressed, momentarily dropping to 0v.

David