Have look at this website.
Plenty of examples of Attiny85 and other micros.
http://www.technoblogy.com/