Help Plzz....

Hi guys...

I hope someone could help me.

Im creating a automatic remote watering project

I have a switch with 3 position:

  • 1 Manual Mode
  • 2 OFF
  • 3 Automatic Mode

When i switch from manual mode to OFF or Automatic mode i want clear the serial monitor information,
but when i use "clear" fucntion it gives one error:

error: 'class HardwareSerial' has no member named 'clear'

Any one know how to solve this problem? plz

With best regards,
Phantazzy

Hi phantazzy

You cannot clear the serial monitor screen.

However, you could use a terminal emulator instead of serial monitor and then send control characters to it from your program to clear the screen.

See this thread about using PuTTY:

http://forum.arduino.cc/index.php?topic=183020.0

Regards

Ray

(deleted)

Serial.end();
Serial.begin();
Will close the window and open a new one.