Thanks for ur precious helo Mister.

but one reason that is just stopping me from using this sorts of PICs is this that i donot know how to program HPWM in the way in which i want.


Lets take an example. Im programming in COde Studio rite..

I know that there is a command in it called HPWM in which u have to specify the channel, the frequency and duty cycle. Rite?

Now there are two things which i donot know how to make:


1) there is no "cycles" option given, so how im going to control the revolutions by specifying the cycles as i wass doing it in PWM command.

2) During my whole operation, i have to stop the motors, run the motors with variable speed and then stop and all that. SO can u plz give me an example of coding with HPWM.


I know using HPWM is highly effective but i request u to provide me with some code examples so that i can fully understand how to do it. Please use COde studio in ur examples.

I shall be thankful to u for this act of kindness.

take carez

Good Bye!