Programming: Initializing 7 LEDs and a Button on PORTB and the Same for PORTD
Share
A Push Button and 7 LEDs are Initialized on PORTD and PORTB. The Push Button is located on the 8th pin (pin 7) on each port and the 7 LEDs are located on the remaining pins of each port.