Depending on what device you are using, and what version of the pbp compiler you are using, you can support 3 pwm channels. Look at the manual for more info. If all else fails, then you can always configure the appropriate CCP registers to manually get the pwm to function. By coding this manually, you can achieve more versatility by this than using the simple HPWM command that pbp offers you.
Srig




Bookmarks