simple implementation of millis() (like Arduino) on AVR microcontrollers ATTiny85