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.
Initialization code:
DDRB = 0b01111111;
DDRD = 0b01111111;
PORTB = 0b10000000;
PORTD = 0b10000000;
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.