In SX Microcontrollers, SX/B Compiler and SX-Key Tool, daniel wrote: [quote="Kramer"] It seems nobody has a simple explanation for inputing R/C. I did Google quite a bit. [/quote] Did you run across Larry Barello or Bob Blick's 2-channel to H-Bridge mixers? Barello has a assembler project that describes mixing 2-channel RC input channels into an H-bridge ([url=http://barello.net/Papers/RCtoPWM/index.htm]http://barello.net/Papers/RCtoPWM/index.htm[/url]) and a C/Assembler project that exercises 4 RC channels via a joystick ([url=http://barello.net/Papers/ServoPulseGenerator/index.htm]http://barello.net/Papers/ServoPulseGenerator/index.htm[/url]). He seems to use the AVR microprocessor in C and Assembly, but translation shouldn't bee all that difficult. As far as resolution of the PWM pulse, Barello seems to achieve 1 microsecond. Blick has a project note for a dual channel PWM to H-Bridge written in C[url=http://www.bobblick.com/techref/projects/sv2hb/sv2hb.html] (http://www.bobblick.com/techref/projects/sv2hb/sv2hb.html[/url]). In each project, you may have to read both the description and code to get a clear picture of the R/C input. Daniel ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=109161#m109361 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)