Hi, >>> Would for example 1000 kHz be reasonable choice, so every tick equals exactly one millisecond? >> Yes. > 1000 kHz is one tick every microsecond. You want 1 kHz (1000 Hz). Oops, sorry, you're right - I saw the millisecond and typed too fast :) Thanks, Petr