www.sunfounder.com
30
Adjusting
In the process of assembling, there may occur the two feet are not on the ground or inclined to
another direction, thus you can adjust by the way as shown below:
Case 1: The forefeet are inclined
1)
The left foot is in front, but the right one is behind
Step 1
: Open Lizard_robot.ino file under the path Bionic Robot Kit for Arduino -
Lizard\Code\Lizard_robot.
Step 2
: Find the statement: int array_setup[] = {90,90,90};//Set the original angle of the servo.
The three 90 inside the array stands for the angle of the three servos, the forefeet are controlled by
number 1 servo. When the left foot is in front and the right one is behind, you should minus the
first value of 90, but do not decrease too much in one time.