>Almost a correct guess. What I'm actually doing is using the capture input >to read from and Analog devices accelerometer (which generates a PWM style >output prop to the G force). But yes the compare part of the CCP is being >used to generate an RC pulse! Actually I think I can simply switch between >the two (I have the time available), I want to keep the two PWM chans to >generate a set of PWM outputs for speed control! First, make sure you can get the part of Analog if you are making more than one. They are really hard to get right now (I have several on order since May and they're telling me April 2001) and will cost a lot more than they quoted earlier. I have used this exact setup. Works great! You can keep the one input always set to the ADXL device and integrate the results constantly (hint hint). The PWM output you can switch back and forth between two servos using a logic chip (demux). Then you can update them as frequently as you want. I had a design using a GAL to use the two channels as inputs, then flip one pin and some software to turn them into outputs, and they would go out on another two pins from the GAL. Super-accurate mixing, only used 3 pins to get 2 inputs and 2 outputs with .5uS resolution. The logic was all very fast and short code, leaving lots of codespace to do things like variable mix ratios, expo, etc. Andy -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu