Hi Melanie
I thank you for reading and answering my question.
I think taht below program shows 8-bit hardware PWM in pbp :
Y VAR WORD
HPWM 1,Y,1000
This program produces pwm that y specifies duty cucle . The frequency of pwm is 1khz.
For example for Y=127 duty cycle is 50%
But HPWM command only considers low byte of Y.
I want to know about 10 bit pwm in pbp
thanks alot.