Hi, please help. I am desperate. I have to show my robot in 1.5 week, but this rc timer servo I bought just runs crazy.
The servo I bought is
Here is my program:
#define LEFTFRONTSERVOPIN 6
pinMode(LEFTFRONTSERVOPIN, OUTPUT); //sets the left servo signal pin to output
leftFrontServo.attach(LEFTFRONTSERVOPIN); //attaches left servo
As you may see, there is NO action in loop, but when I connect 1 servo to this program, it just moves by itself. Basically I tried, no matter what I put in the loop, the servo just moves by itself in a pattern. very strange, and I am desperate. What should I do? Could you please suggest some way to figure out why this servo behaves like this? Please help.