Breadboarding: Connecting a Push Button Switch to the Microcontroller
Share
The push button switch is connected to the first pin of the microcontroller (PORTB Pin 0) and the other end of the button is connected to ground since the pin will be in a high state.