Software > Software

Servo Half Speed Code

<< < (3/3)

Sylvestre:
Ok I centered the servo so nothing happens when I start the robot. Now when I send cc, it slowly turns in pulses.  The same goes for right wheels


--- Code: ---else if (tempbyte== cc)
act_setSpeed (&servo, -124);
delay_ms(20);
--- End code ---

It's setting the same speed no matter what I send to it.  I sent a 600 and the same thing occurred.

Very odd.  Any idea what's going on?  Do I need to send the send the pulse for longer?

Sylvestre:
Problem Solved!  My delay was not long enough!

Navigation

[0] Message Index

[*] Previous page

Go to full version