A simple single seven segment display with a button that works like a counter, when you press the button the program counts up and displays on the seven segment from 0 - 9

Wire the project the way the sketch shows with a single button, 220Ohm resistor and a single seven segment unit and a few wires