>I'm trying to write some code that takes two radio control servo inputs (forward/reverse on one channel, left/right on the other) and mixes them together to provide two PWM outputs suitable for driving FET H-bridges for a small radio-controlled robot. >I suppose my question is: Is generating two PWMs whilst reading two inputs too much for one 16F84 to cope with or am I looking in the wrong place for the solution? It would require some clever coding to do it glitchlessly. Also adding other features(like dealing with out-of-range pulses when the transmitter is off) gets even trickier. Do you need to use a 16F84? I've done exactly what you want in a 16F876 and it also has current limiting to protect your h bridge, and am just now adding temperature sensing for two motors and two h bridges. -Bob -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu