Stripped the RC6 code from here http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html to make it fit onto a attiny85