> The resistor (usually to VCC) is called a pullup resistor, not a > current-limiting resistor. Sorry. My fault - for some reason I didn't want to call it that. Wouldn't seem to be limiting much since the port's not asking for much in an input state ;) > You are, of course, configuring your I/O port for input, so it is in the > high-impedance state, and negligible current is actually flowing in or out > of the PIC. Duh. Again, I seem to be theory impaired right now. Yes. Something sticks in the back of my mind that the ports prefer either sinking or sourcing - though that's more for output. Didn't want to over do it. > Either way, it is arbitrary and up to you to > decide whether you'd rather consider the switch to be "on" when it's open or when it's > closed. I'll err on the side of I don't want much of anything to happen in a short or "unavailable" situation. Thanks.