Page 2 of 2

Re: GPIO inputs without pullup (HiZ) problem

Posted: 18 Oct 2016 16:00
by g-knight
Hi p0lyg0n1,

Thanks, great if we have another measure.

But be careful to not confuse on the goal: the initial request was more that I suspect that there is a bug that prevent to disable the pull-up, and I gave current measures that show that it seems that there is a pull-up there on input even if we set to NOT use it, and that even with analog input.

pinMode(PIR_PIN, INPUT); should NOT have pull-up
pinMode(PIR_PIN, INPUT_PULLUP); uses pull-up

So, if you can measure both cases, it would be great. Many apologize if this was already your intent and I didn't catch...

Gerard

Re: GPIO inputs without pullup (HiZ) problem

Posted: 18 Oct 2016 16:01
by p0lyg0n1
Looks like you are right. Pull-up controll was broken till 0.68. I will add an issue to tracker.

Re: GPIO inputs without pullup (HiZ) problem

Posted: 18 Oct 2016 21:00
by g-knight
Hi p0lyg0n1,

Thank you for this investigation and answer. That’s a good point to know it will work again in the future.
I’ll look on the new version release notes to check fixing.

Gerard