Hi
I'm using hardware PWM on a 18F4520 to control two channels of LEDs for an aquarium light. Using the hpwm 1,W_PWM,750 command in PBPro, the variable W_PWM has 255 steps, however this gives a noticeable stepped phase when dimming the LEDs up and down at low values of W_PWM. Is there a way of using a higher value so that W_PWM has more resolution say 1024 steps - or is this not supported ?
Bookmarks