               #ifdef DEBUG
                 Serial.write("buffer left=");
                 Serial.write(current_buffer);
-                Serial.println(strlen(current_buffer));
+                Serial.write("\n----------------\n");
+                //Serial.println(strlen(current_buffer)); // buffer length
               #endif
               
               break; //for i

  Serial.println("Lx#  // Lock motor x.");
  Serial.println("Sx y# // Sets speed of motor x to y");
  Serial.println("Ax y# // Sets acceleration of motor x to y");
  Serial.println("Motor index can be between 0 and num_motors - 1");
  Serial.println("Each command is terminated with #.");
  
  Serial.println();


      #ifdef DEBUG
        Serial.write("initial buffer is=");
        Serial.write(current_buffer);
        Serial.println();
      #endif
      
      // parse from the beginning until I find a M, D, S or A
