How do I control the speed of the servo ??
As an example , it took 2 seconds for my servo to moved from 0.5ms position to 1.5ms AND NOW I wanted to make it only spend 4 seconds to move.
I tried to add delays for it, it is some sort looks like this...-->
RB5=1;
DelayUs(1.3);
RB5=0;
DelayUS(18.7);
RB5=1;
DelayUs(1.4);
RB5=0;
DelayUS(18.6);
RB5=1;
DelayUs(1.5);
RB5=0;
DelayUS(18.5);
With this program, it isn't moving smoothly and yeah not nice
SO any suggestion for me to control the time taken for the servos to move or can I just say the rotation speed of the servos ?
THANK YOU
As an example , it took 2 seconds for my servo to moved from 0.5ms position to 1.5ms AND NOW I wanted to make it only spend 4 seconds to move.
I tried to add delays for it, it is some sort looks like this...-->
RB5=1;
DelayUs(1.3);
RB5=0;
DelayUS(18.7);
RB5=1;
DelayUs(1.4);
RB5=0;
DelayUS(18.6);
RB5=1;
DelayUs(1.5);
RB5=0;
DelayUS(18.5);
With this program, it isn't moving smoothly and yeah not nice
SO any suggestion for me to control the time taken for the servos to move or can I just say the rotation speed of the servos ?
THANK YOU