Go Down

Topic: Serial.print (Read 488 times) previous topic - next topic

ricky2443

Question, when I call a Serial.print or println where does it print to? I just got my board today and I'm playing around with the IDE learning how it all works. Thanks.

CosineKitty

It prints to the serial port.  You can monitor this with the "Serial Monitor" built into the Arduino IDE (it's the rightmost of the buttons above the editor window).  You need to call Serial.begin(baudrate) before doing Serial.print().  Put that in your setup() function.  Then click on the Serial Monitor button and set the same baud rate.  Hope this helps...

Go Up