That's interesting... so you can switch PWM on and off that quickly?
would the following be sufficient?
PWM off:
CCP1CON = 0
T2CON = 0
PWM on:
CCP1CON = %00001100
T2CON = %00000100
Thanks for your help![]()
That's interesting... so you can switch PWM on and off that quickly?
would the following be sufficient?
PWM off:
CCP1CON = 0
T2CON = 0
PWM on:
CCP1CON = %00001100
T2CON = %00000100
Thanks for your help![]()
I think so.
Alternately, just configure the HPWM pin as an input when you want the LED off.
Credit for this technique goes to Darrel Taylor, who helped me make it work.
THANKS, DARREL.
Regards,
Anand
Bookmarks