taken from http://electronicsodyssey.blogspot.co.id/2011/10/atmel-attiny45-attiny85-based-usb-midi.html