It could be that the button with two 10k ohm resistors is being used to pull up (R1) the input to 3V3, then when button is pressed it goes to 0V. The second resistor R2 protects the GPIO pin from too much current in case we mistakenly set the pin to be in OUTPUT mode.
See https://github.com/raspberrypilearning/ ... up_down.md
And discussion here viewtopic.php?t=288419
See https://github.com/raspberrypilearning/ ... up_down.md
And discussion here viewtopic.php?t=288419
Statistics: Posted by neilgl — Wed Aug 14, 2024 7:56 pm