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
GPIO inputs without pullup (HiZ) problem
Re: GPIO inputs without pullup (HiZ) problem
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
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
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