On Mon, Jun 24, 2002 at 10:47:12AM +1000, James Caska wrote: > I suppose if you have already moved to the 628 its probably not practical, > but I imagine you could quite likely use the 877 PWM with a low frequency > setting to generate a nice consistant pulsestream and then update the > frequency each time you receive a new serial packet. You might need to keep > track of how many output pulses the PWM has actually made to synchronise > with your serial input data but then the serial stream would be less time > critical. It's imminently practical. The 628 has the same 10 bit PWM module as the 877. Another reason why it's the cream of the crop when it comes to 18/20 pin PICs. BAJ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body