pwmout & servo commands

AlbertZ

Senior Member
It is my understanding that the 18M2 chip has two separate timers which allows using pwmout as well as the servo commands. My question is this: If I am generating a PWM output signal on Port B.6, can I use any PortC pin to issue a servo command or must I use Port B.3?
 

hippy

Ex-Staff (retired)
You do not have to use a PWM output channels to control a servo; any Port B pin can be used.

Note that servos controlled by SERVO commands can only be on Port B, not Port C.
 
Top