Back to Browse

Using INPUT_PULLUP instead of using external resistors for buttons

36 views
May 1, 2026
6:56

an alternative way to wire buttons without using external resistors for setting a default value for digital inputs using an external resistor sets the default value of a button to LOW/OFF, but with INPUT_PULLUP, we're using Arduino's own internal resistors to act as a resistor for our buttons, but instead of setting a default value of LOW/OFF, it sets off a HIGH/ON value as default.

Download

0 formats

No download links available.

Using INPUT_PULLUP instead of using external resistors for buttons | NatokHD