Schematic of mini flashlight attiny
C5
R3
Resistance
470 Ω
R2
Resistance
10000 Ω
LED1
U2
Not Recommended for New Designs