This library is a port from Pololu library to be used with atmega Attiny family