>problem generating a 2Khz PWM, or reading a PCD(?) input from a radio We call it a PPM signal in the industry. Pulse Position Modulation, as compared to PCM Pulse Coded Modulation, which is binary data transfer. >I'm not saying its impossible, just that I don't think you will come up >with a satiscfactory solution with 10 lines of C code. As I stated before, I mis-read "PWM h/w in the PIC" Andy ================================================================== Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA ==================================================================