arduino+ sd21

Hello guys… i am working on a hexapod and i am trying to make it move with arduino and sd21 servo controller… but i have a problem with how to declare all servos… if someone can help me … or can send me a sample code…i will really appreciate it…

code:

#include <Wire.h>
#define ADDRESS 0x61 // The address of the SD21

#define servo1 0x3F // Address of 1st Servo
#define servo2 0x40 // Adress of 2nd Servo
#define servo3 0x41 // Adress of 3rd Servo
#define servo4 0x42 // Adress of 4th Servo
#define servo5 0x43 // Adress of 5th Servo
#define servo6 0x44 // Adress of 6th Servo
#define servo7 0x45 // Adress of 7th Servo
#define servo8 0x46 // Adress of 8th Servo
#define servo9 0x47 // Adress of 9th Servo
#define servo10 0x48 // Adress of 10th Servo
#define servo11 0x49 // Adress of 11th Servo
#define servo12 0x4A // Adress of 12th Servo
#define servo13 0x4B // Adress of 13th Servo
#define servo14 0x4C // Adress of 14th Servo
#define servo15 0x4D // Adress of 15th Servo
#define servo16 0x4E // Adress of 16thServo
#define servo17 0x4F // Adress of 17th Servo
#define servo18 0x50 // Adress of 18th Servo

void setup()
{
Wire.begin();
}

void loop()
{
Wire.beginTransmission(ADDRESS);
Wire.write(servo2);
Wire.write(108);
Wire.write(servo11);
Wire.write(138);
Wire.write(servo14);
Wire.write(108);
Wire.endTransmission();
delay(50);
Wire.beginTransmission(ADDRESS);
Wire.write(servo1);
Wire.write(220);
Wire.write(servo10); ///forward
Wire.write(120);
Wire.write(servo13);
Wire.write(160);
Wire.endTransmission();
delay(50);
Wire.beginTransmission(ADDRESS);
Wire.write(servo2);
Wire.write(138);
Wire.write(servo11);
Wire.write(108);
Wire.write(servo14);
Wire.write(138);
Wire.endTransmission();
delay(50);
Wire.beginTransmission(ADDRESS);
Wire.write(servo5);
Wire.write(138);
Wire.write(servo8);
Wire.write(108);
Wire.write(servo17);
Wire.write(130);
Wire.endTransmission();
delay(50);
Wire.beginTransmission(ADDRESS);
Wire.write(servo4);
Wire.write(110);
Wire.write(servo7);
Wire.write(168); //backward
Wire.write(servo16);
Wire.write(78);
Wire.endTransmission();
delay(50);
Wire.beginTransmission(ADDRESS);
Wire.write(servo5);
Wire.write(108);
Wire.write(servo8);
Wire.write(138);
Wire.write(servo17);
Wire.write(100);
Wire.endTransmission();
}

Read the sticky note at the top of this forum. You haven't used code tags and there are no links to the products used.

Moderator edit: Spelling ("not" -> "note")