At 12:02 AM 4/1/97 +0100, you wrote: >At 12:32 31/03/1997 -0500, you wrote: >> >> I am working on my first (complex) PIC program. Using a PIC16c57 >>at 4MHZ I am sampling the servo outputs from a R/C Reciver to convert them >>to PWM signals for 2 motors and using steps from the other 2 channels for >>non PWM stuff. >> >Check the following URL: > > ftp://ftp.luth.se/pub/misc/rc/plans/electro > >You will find a project named RX.ZIP or RXLIGHT >Note this program was completely simulated with UMPS before an SMD OTP >implementation on a PIC16C57: > > http://idls.izarbel.tm.fr/entp/techer/P01.HTM Very nice circuit and code.. But not quite what I was looking for.. I'm not generating servo control pulses. I am measuring their width and converting that measurement to a value to be used in PWM speed control of a DC brush motor. What I really need is some example code for PWM calculations and implementation. Thanks!! Jason E. Brown Other Worlds 3801 Dayton Blvd Chattanooga TN 37415 (423)870-1074 http://www.cdc.net/~othrwrld othrwrld@cdc.net = business. jebrown@cdc.net = me.