Closed rgillan closed 4 years ago
Did you get a chance to investigate this? There were changes to this code but I don't know if they were before or after your tests.
Sorry, haven't tested in a while (our code uses the separate open/pud methods in sequence. If we get a chance to test again I'll update (it's been working well for a long time, so we haven't bothered to change anything)
Hi, On a RPi3 (haven't tested earlier versions) we have a range of I/O, both static and polled. One of our polled inputs was acting as if it was floating as we were detecting a simple proximity switch to ground. Any noise (or simply touching the lead) was triggering the poll detect.
We found that declaring the input, followed by the pud assignment (no other code changes) has fixed the issue.
Not sure if it's an issue but more in case someone else needs a hand. Will dig further once we get a chance.