void type_tstring() // option - type in testString after a test run.
// **Problem** if more chars are entered than testStrRow. Serial.read() does not help to clear keyboard buffer.
{
type_ans_len++; // do nothing till all Morse chars are sent (tString)
if (type_ans_len == testStrRow) // now enter your answers (testStrRow is tString.length()
{
unsigned int i = 0; flag = 10; typeIn = "";
Serial.println(F("Enter your answers or Space if you don't know a char"));
do
{
if (keypress == 27 || i == testStrRow) break;
i++; getChars(true); // returns char keypress
typeIn = typeIn + keypress + " ";
} while (i < testStrRow);
// any Serial.read() routine here does not help
Serial.println("your answers: " + typeIn); type_ans_len = 0; flag = 0; //typeIn = "";
}
}