Using I/O pins


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6546
Posted: 08:51pm 11 Dec 2019      

Check that your sensor is really going to zero volts.
If the zero reading works without the sensor connected but not when it is connected, your external sensor is holding the input too high.

Jim
VK7JH
MMedit