Quote Originally Posted by Ioannis View Post
(10-bit PWM)
Is this possible with PBP or do I have to mess directly with the PIC registers?

My next step will be to use MiBAM, as I do not have hardware PWM on the final PIC.
You might try HPWM10 for now. It's just like HPWM ... almost.
http://www.picbasic.co.uk/forum/show...7805#post37805

MIBAM is only 8-bit, but if you only have one output it'll be better to create a higher resolution interrupt driven PWM that could also be a time base for the PID loop.