Clear screen on Serial Monitor of the Arduino IDE

Hi there !

I would like to clear datas printed on the Serial Monitor each time a new line of datas is incoming.

I found an old topic about this and I tried the solution proposed:
http://forum.arduino.cc/index.php?topic=49446.0

It doesn't work.

I tried similar other solution like this one :

  Serial.write(27);       // ESC command
  Serial.print("[2J");    // clear screen command
  Serial.write(27);
  Serial.print("[H");     // cursor to home command

But it also doesn't work.

Does anyone know if it is possible to do?

The serial monitor doesn't have full terminal emulation, so won't respond to escape sequences
Use a proper terminal emulator like PuTTY or Hyperterm instead.