Roman, Do you have two different processors here? One doing the bresenham, and now you want to do this pulse shifting thing? Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: "Roman Black" To: Sent: Wednesday, May 23, 2001 7:43 AM Subject: Re: [PIC]: [OT]: Funky Squarewave > Bob Ammerman wrote: > > > > Roman, > > > > So some process is dropping M out of every N pulses? > > > > Sounds like another place to use Bresenham. > > > Ha ha! How do you think I'm getting accurate > freq corrections without doing any period measuring > stuff?? ;o) > > Now I just need the "quirky" way of smoothing > the pulses and it's all over. Unfortunately most > speedos will "jump" if the pulse train misses > pulses.:o) > -Roman > > > > > ----- Original Message ----- > > From: "Roman Black" > > To: > > Sent: Wednesday, May 23, 2001 6:18 AM > > Subject: Re: [PIC]: [OT]: Funky Squarewave > > > > > Olin Lathrop wrote: > > > > > > > > > The input freq can change as much as 50% in less > > > > > than a second. At higher speeds, it changes more > > > > > slowly. It's a motorcycle speedometer. > > > > > > > > So why do you need to drop some pulses from the speedometer pulse train? > > > > > > > > > Because this is the best way to correct a frequency > > > by X percent without having to do any period measurement > > > or period generation. :o) > > > -Roman > > > > > > -- > > > http://www.piclist.com hint: The list server can filter out subtopics > > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > > > > > > > > > -- > > http://www.piclist.com hint: The list server can filter out subtopics > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics