 	{
 	  // Print thisByte unaltered, i.e. the raw binary version of the byte.
 	  Serial.write(thisByte);
+	  Serial.flush(); // Wait for the outgoing buffer to be cleared.
 
 	  // Go on to the next character.
 	  thisByte++;
 	}
 }
 
- void sendOne(void)
- /* Send '1' ASCII character, followed by a 0x00 and 0 integers. */
- {
-	 Serial.print("1"); // Send ASCII character.
-	 Serial.write(0x01); // Hex number.
-	 Serial.write(1); // Decimal number.
-	 Serial.flush(); // Wait for the outgoing buffer to be cleared.
- }
+void sendOne(void)
+/* Send '1' ASCII character, followed by a 0x00 and 0 integers. */
+{
+	Serial.print("1"); // Send ASCII character.
+	Serial.write(0x01); // Hex number.
+	Serial.write(1); // Decimal number.
+	Serial.flush(); // Wait for the outgoing buffer to be cleared.
+}
 
- void sendZero(void)
- /* Send '0' ASCII character, followed by a 0x00 and 0 integers. */
- {
- 	Serial.print("0"); // Send ASCII character.
- 	Serial.write(0x00); // Hex number.
- 	Serial.write(0); // Decimal number.
- 	Serial.flush(); // Wait for the outgoing buffer to be cleared.
- }
+void sendZero(void)
+/* Send '0' ASCII character, followed by a 0x00 and 0 integers. */
+{
+	Serial.print("0"); // Send ASCII character.
+	Serial.write(0x00); // Hex number.
+	Serial.write(0); // Decimal number.
+	Serial.flush(); // Wait for the outgoing buffer to be cleared.
+}
 
 void sendA(void)
 /* Send 'A' character, followed by a 0x41 and 65 (corresponding ASCII code in hex and decimal). */

	{
	  // Send this byte unaltered, i.e. the raw binary version of the byte.
	  Serial.write(bytesToSend[i]);
	}
}


			case 'N': // Send several non-ASICC bytes.
				sendNonASCII();
				break;
			case 'L': // Send two-byte integers.
				sendLongs();
				break;
			case 'Q': // Send sequences of bytes.
				sendSequences();
				break;
		}
	}
}
