Hey guys, I am unable to run rmcs-220x motor bought from robokits through serial communication.
If any one has done it please help.
its user manual is- http://www.robokits.co.in/documentation/RMCS220x_DCServo+Driver.pdf
the code i am uploading is -
void setup()
{ Serial.begin(9600);
Serial1.begin(9600);
}
void loop()
{ char sp = 100;
char p ='S';
Serial1.write(p);
delayMicroseconds(50);
Serial1.write(sp);
delayMicroseconds(50);
while(1) { Serial.println("kjkhjkh"); }
}
Please help