updated timer driver - now the passed milliseconds are used for configure the timer