hi , im trying to use the Query Movement Status command with Arduino mega and ssc32, the old one with serial port .
notice that im using 2 serials, Serial and Serial1, the ssc32 its connected to Serial1, ground of ssc32 to arduinos ground.
the code is:
char reading;
void setup() {
Serial.begin(9600);
Serial1.begin(9600);
}
void loop() {
Serial1.println("#14 p2000 t2000");
delay(100);
Serial1.println(“Q”);
if (Serial1.available() > 0) {
reading = Serial1.read();
Serial.print("received: ");
Serial.println(reading);
}
}
when I see the serial the only result is ++++++++++++++++ even a minute or more later, I never see the “.”
theres something wrong on my code ? or something wrong with my hardware? its a servo problem? im using the towerPro SG90 servos.