At 04:04 PM 5/14/97 -0500, you wrote: >-- [ From: Kevin Sutter * EMC.Ver #2.5.02 ] -- > >I'm building a new RC plane that requires mixing both elevator and rudder >channels for a V-tail configuration. I'd like to do away with the mechanical >version and instead use a 16c84. Does any one have any code (or info) that >will accept two channels of input from an RC receiver and output a signal >directly to two servos? Kevin, I have a mixer based on a 12C508 with fixed mixing ratios. I'd be happy to burn you one if you want just tell me the mix you want. I'll send you a simple schematic for it, too. It would be easiest if you give me a formula to implement the mix. The thing is written in assembly, but I use C to generate the code for the mixing function. It takes two inputs ranging from 0 to 208, producing two independent outputs ranging from 0 to 208, with neutral at 104. 0 ==> 980uS, 104 ==> 1500uS pulse, 208 ==> 2080uS. This implies 5uS resolution, with a 980uS threshold. I will work on a generic mixer with adjustable slopes shortly. Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================