Breadboarding: Connecting 14 LEDs and To Push Buttons to the Microcontroller

7 LEDs are connected to PORTB on pins 0 to 6 and a push button is connected to pin 7 on that port. On PORTD, 7 LEDS are connected to pins 0 to 6 and one push button is connected to pin 7. Resistors are connected in series with the LEDs to limit the current so the LEDs don't burn out.



Back to blog

Leave a comment

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