> I am controlling a servo using a 16F84A and the servo signal wire is > connected directly to portb pin3. The servo would move but not to the > minimum range with a 1ms pulse so I hooked up the occiliscope to > take a look > at the pulse. The leading edge looks fine but the trailing edge "slopes" > down relatively slowly, not a square wave and I am thinking this may be > giving me problems. I am setting portb pin3 at 0ms and clearing > it at 1ms. I > am not an electronics whiz, any ideas on why the traling edge is sloped so > much or anyone have any suggestions on how I can improve this? The cause of the slope might not be a "problem". I have found that some servos will not be at minimum at 1ms, have you tried a shorter signal, say 0.9ms? Now the fact that it is sloping is kind of strange, the PIC can drive quite a bit, what time scale are you looking at the falling edge? Perhaps your time scale is really small? TTYL -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.