GPIO inputs without pullup (HiZ) problem

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
g-knight
Posts: 11
Joined: 09 Oct 2016 19:06

Re: GPIO inputs without pullup (HiZ) problem

Post by g-knight » 18 Oct 2016 16:00

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

p0lyg0n1
Posts: 160
Joined: 04 Aug 2016 07:14

Re: GPIO inputs without pullup (HiZ) problem

Post by p0lyg0n1 » 18 Oct 2016 16:01

Looks like you are right. Pull-up controll was broken till 0.68. I will add an issue to tracker.

g-knight
Posts: 11
Joined: 09 Oct 2016 19:06

Re: GPIO inputs without pullup (HiZ) problem

Post by g-knight » 18 Oct 2016 21:00

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

Post Reply