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! Zack
Message
Re: [AVR-Chat] How to measure a pulse width
2006-03-08 by Zack Widup