Tuesday, December 17, 2013

Arduibo serial port

You can use serial port for displaying text, which will help you to debug your code. Firstly you need to start it:

void start()
{
  Serial.begin(9600); //Starting serial port
}

Then you can use it. Example:

void loop()
{
  Serial.println("Simple text");
}

No comments:

Post a Comment