title: How can I clear an LCD from my Arduino?
body: <p>I'm using serial communication to display the the data to my 4x20 lcd display. When I filled up all the lines of course I need to clear it. I've search over the net and found something like:</p>
  
  <pre><code>Serial.write(27); // ESC command
  Serial.print("[2J"); // clear screen command
  Serial.write(27);
  Serial.print("[H"); // cursor to home command
  </code></pre>
  
  <p>But it doesn't work. I also found a solution like <code>Serial.println();</code> but that solution (cheat as they called it) will only work on a serial monitor. So is there any possible solution to clear the display or delete a single character from the LCD?</p>