diff --git a/Crust Crawler Arms/read_joint_positions/read_joint_positions.ino b/Crust Crawler Arms/read_joint_positions/read_joint_positions.ino index a017e74..917ddef 100644 --- a/Crust Crawler Arms/read_joint_positions/read_joint_positions.ino +++ b/Crust Crawler Arms/read_joint_positions/read_joint_positions.ino @@ -34,8 +34,10 @@ void loop(){ // and send it to the PC. for(int i = 1; i < 6; ++i){ int pos = GetPosition(i); - String report; - report = i + ": " + pos; + String servo=String(i); + String text=String(": "); + String posit=String(pos); + String report = String(servo+text+posit); Serial.println(report); }