 
 			// parse from the beginning until I find a M, D, L, S, A, P, B, U, G, T
 			int current_buffer_length = strlen(current_buffer);
+//			bool command_found = false;
 			for (int i = 0; i < current_buffer_length; i++)
 				if ((current_buffer[i] >= 'A' && current_buffer[i] <= 'Z') || (current_buffer[i] >= 'a' && current_buffer[i] <= 'z')) { // a command
 				  // find the terminal character #

void setup()
{
	first_start = 0;
	strcpy(firmware_version, "2019.04.26.2");

	current_buffer[0] = 0;

	tera_ranger_one_lidar = NULL;

	Serial.begin(115200); //Open Serial connection

	//delay(2000);


						Serial.write(tmp_str);
						Serial.println();
#endif
				//		command_found = true;
						parse_and_execute_commands(current_buffer + i, j - i, serial_out);
						if (serial_out[0])
							Serial.write(serial_out);
