Go Down

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


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.


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131