If you want a button or switch as an input on a microcontroller (MCU), you can use a “pullup resistor” so that the input is seen as a logical high when the (normally open) switch or button is closed.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results