Let's Make Robots!

hexapod control using arduino

i am working on a hexapod controlled by arduino + devantech sd21 servo controller... can anyone send me any working sample code ? so i can see how it works...

rescue robor

hello i am trying to connect two ultrasonic sensors srf05 to arduino and i wand the to compare distances to it will recocnises objects and walls also this is what i have done until now but i dont now how to get them work i can make one work but not both pliss can you help me 

#include <NewPing.h>

int motor_pin1 = 4;

int motor_pin2 = 5;

int motor_pin3 = 6;

int motor_pin4 = 7;

int dist = 0; 

#define TRIGGER_PIN1  8  // Arduino pin tied to trigger pin on the ultrasonic sensor.