>I'd be interested to see your code as well. BTW, do you have any >suggestions on reading servo pulse widths asynchronously? I'd like to be >able to read two PWMs coming from a R/C receiver and drive one servo >simultaneously. Been there, done that. If you need real accurate (1uS or so) resolution of the input R/C pulse, I recommend using a 4 MHz 16C73 or 6x with the 2 h/w capture registers. This will give you the two pulse widths coming in very accurately. Use TMR0 to get the output width you need. You can also get 1uS resolution on this with some slick coding by making the output synchronous with the inputs, though slightly out of phase. "The implementation is left as an exercise for the student" 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!" ==================================================================