On Mar 8, 2006, at 5:38 AM, Zack Widup wrote: > On Tue, 7 Mar 2006, Ned Konz wrote: > >> >>> I guess I forgot to say I was operating at 16MHZ. 16us is probably >>> close enough. So I hook the sensor to PIND4 and set timer1 to a >>> prescale of 256 >> >> OK, that'd give you a resolution of 1/16 MHz (or 16usec). >> > > 1/(16 MHz) = 0.0625 usec (62.5 nsec). Much faster! See, I shouldn't write emails past a certain hour... Quite right!
Message
Re: [AVR-Chat] How to measure a pulse width
2006-03-09 by Ned Konz