>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. Why not just use a commercial electronic mixer? They're cheap, they're small, and they'd probably drive an H-bridge. Unless you aren't really looking for that type of a mixer. I'm not sure what you're trying to do... you want to mix two channels together, yet still want "two PWM outputs." >I feel like I'm almost there, but I'm also convinced that someone _must_ >have done this before. I've checked the archives and found nothing. There is tons of stuff in the archives, as well as on the internet. Have you used the search engine on the PICLIST site? It works rather well. >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? This isn't at all too much for one chip to cope with; people have done up to 8 servos from one 16F84. This stuff is on the PICLIST site, I've seen it before. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu