losmi:
Sketch is for electronic lock, with 7-seg display, keypad, servo, few capacitors and resistors, switch, and one mosfet. It auto-shuts down completely after few seconds of inactivity in order to save battery.
Just out of curiosity, how many hundreds of these things are you planning to make so that the difference in price between an Attiny and an Atmega328 matters?
...R