This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

悬空和接地的判断

我想用两根导线来作为开关,但是这两根导线不能连接到VCC,只能连接到GND。

请问怎么实现,悬空的时候关闭开关,接GND的时候打开开关?