Attiny85 IRremote Code

I suggest you grab the firmware for the TV-B-Gone kit (just Google it).

That uses an Attiny85 to send our IR remote codes. So the basics of sending codes is already there.