On Wed, Apr 30, 2003 at 08:00:44AM +0200, Reinaldo Alvares wrote: > Let me please rephrase my question. Let's say I want to multiply the > frequency of an input square wave by some factor "F". [...] > I can't loose > counts since I need this for positioning, direction and speed measurement You do realize that there ain't no such thing as a free lunch. Just increasing the frequency by a factor of F doesn't give you any more information at all. It's not like having an encoder F times more sensitive. The best you can hope for is that by perfect oversampling you get exactly the same amount of information out. Any error you introduce gives you less net information. -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body