Recently, I purchased a magnetic door switch: seeedstudio.com/depot/magnet … th=156_160
I’ve connected one wire to +5V and the other wire to digital input. The result is randomize between 0 and 1.
I’ve seen that this door switch has a logic output, “ON” and “OFF” and it’s necessary swap this logic values to voltage, is rigth?
Thanks and Regards!