Re: Atmel AVR, too slow encoder tics counting

From: Umpa (_at_umpaumpalala.com)
Date: 05/07/04


Date: Fri, 7 May 2004 10:37:25 +0200

Thanks for smart advices.

> 5KHz sounds about right for LONGINT SW -

My processor has 16 MHz.
Even if execution of interrupt procedure lasts 1000 cycles
(I don`t think so it lasts as long), we should have
16000000 / 1000 = 16 kHz.
I think, my program should be able to count with
higher frequencies according to high processor
speed, and not so slow (I think not slower than e.g. 1000 cycles)
interrupt procedure.

Umpa.