There are actually couple of ways to do this. We can configure the gpio to pull up, or pull down.
Is it possible for you to change the wiring to put one end in 3 volt, and the other in gpio ?
Yes i will do it tomorrow, my 3.3v is taken by the temperature probe, so i will have to splice and solder another lead to it,
i will test in the morning.
So i can use one side to 3.3v and the other wire to the GPIO pin,
no ground or resistor meeded ?
Thanks
again !
