Created
May 8, 2013 11:51
-
-
Save THEtheChad/5539958 to your computer and use it in GitHub Desktop.
Series of commands to clear the console screen on the Arduino.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void clearAndHome() | |
{ | |
Serial.write(27); | |
Serial.print("[2J"); // clear screen | |
Serial.write(27); // ESC | |
Serial.print("[H"); // cursor to home | |
} |
Don't work anymore, i'm searching for another code :(
anero kokcta
it works, but with another terminal program
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bro does the 4th line clear the serial interface of arduino?