Your MegaCore AVR Pinout image has the wrong port numbers for Arduino Pins 2-7. There are other errors I'm sure but I didn't do a complete scan. Arduino Pin 2 is Port E, pin 4. (PE4) Arduino Pin 3 is ...
This is a simple 0 to 9 counter circuit constructed using Arduino! Here, a common cathode 7-segment LED display is connected to Arduino for displaying the digits. The code (Arduino sketch) allows push ...