naga
Go back to your post #17
In it you are changing a variable Vduty. This part is good.
You then call a subroutine HpwmSet. Explain to me how in your code Vduty changes the HPWM setting?
Go to the PICBASIC manual, look up HPWM and how it is used, an then install Vduty correctly so it actually changes your PWM setting.
Bookmarks