use 1msec timer, because the encoder produces to short pulses