Schematic: Push Button Connected to Microcontroller

Schematic of a push button connected to a microcontroller. One lead of the push button is connected to a general I/O pin of the microcontroller and the other lead is connected to either ground GND or power VCC. If it is connected to ground, the pin should be set high, if the lead is connected to VCC, the pin should be set low.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.