Detect grounding of a external circuit

What is the "external unit"?

It's possible you can detect the unit's power supply level when the switch is open and 0v when closed. But it depends on what the "unit" is.

This is essentially what Crossroads said, the "unit" is a pullup resistor, so now that I think about it why can't you just use a pullup resistor?


Rob