This part adds the user input to the String (the char the user types in) but also prints to the LCD the last character. So when you empty the string you also want to refresh the lcd display by calling lcdEnterValue();
1 Like