Comment Already been done (Score 1) 172
There's already an open source driver for ATtiny-controlled LED-driver boards used in many flashlights. It's called BLF-VLD and can be found here: http://budgetlightforum.com/node/799
The closest to perfection a person ever comes is when he fills out a job application form. -- Stanley J. Randall