Configuration:
VDD ----[Button]---- Pin ----[Pull-down]---- GND
|
To MCU
- Button open: Pin = 0 (pulled down)
- Button pressed: Pin = 1 (connected to VDD)
- 註
- Pull-down strength must be sufficient to guarantee logic low without external drive
-
External driver must source more current than pull-down sink current