Did you ever need a cheap and simple (with one digit only) pulse counter?
This is the maximum optimization and simplification. Thanks to Charlie Allen.
Connect 7 LEDs L-144 (2x5mm) as on pictures below:
In the Arduino IDE -> Preferences add this Additional Boards: https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json
Next in the Arduino IDE -> Tools -> Board -> Boards Manager find ATtiny13 and add this package.
Select clock for ATtiny13:
Flash it:
Connect the microcontroller with diodes, 100Ω resistors and button (pin 0) as show in the pictures below:
Connect 5V and it is ready!
Number 3 is like inverted C but it is understandable. Of course, you can connect segment F separately but this is great task for you. :-)
Comments