I am trying to design a circuit that outputs a logical 1 if the input is high-impedance, and a 0 otherwise.
Any idea how I might implement this? I would prefer to use off-the-shelf parts (no programming).
Truth table:
I|O
---
X|1
0|0
1|0
I was thinking something along the lines of a pull up resistor with an NPN transistor. Thoughts?