High impedance input?

pinMode(button,INPUT_PULLDOWN);
pinMode(button,INPUT_PULLUP);

Is there a pinMode for high impedance input with neither pull up nor down?

Yup, pinMode(pin, INPUT)

https://docs.particle.io/reference/device-os/firmware/photon/#pinmode-

Oh. I only saw INPUT_PULLUP and INPUT_PULLDOWN in the reference.

(Iā€™m kindof known for that.)

1 Like