Is one of the wires connected to chassis Ground? If so, connect the OTHER wire to an Arduino pin. Use HIGH for 'not connected' and LOW for 'connected'.
Be sure that the Arduino ground is connected to chassis Ground.
Is one of the wires connected to chassis Ground? If so, connect the OTHER wire to an Arduino pin. Use HIGH for 'not connected' and LOW for 'connected'.
Be sure that the Arduino ground is connected to chassis Ground.