Pwm Fan Controller Help

While we can give you pointers, I'm not sure any of us will want to bother helping you program ATTinys, since they are not really Arduinos and have significant changes to be made to support the arduino format. I would go ask for help on AVRfreaks instead. These are the arduino forums after all. It would be far simpler for you to use an arduino at the beginning and then see about translating it to the smaller device. Or built it for the smaller device to begin with, but ask around on AVR Freaks. Most of us are going to tell you to use libraries you won't have access to on the ATTIny.