I'm trying to print messages to the serial monitor, and all I get is some unreadable format.
Looping Serial.println("Wait...!");
gives me the following results:
ö’ö’ƒÕ•¬ƒ ́1⁄4Õƒö"ƒ2ƒƒƒ¬‘1⁄4¬Õ"’"ƒ¬•
Why is it unreadable, and how do I make it print a readable format?
1 Answer 1
This "weird" result usualy happens when you select then wrong baud rate or a different one then the one you beginned the serial communication with in the program. Thus by using Serial.begin(9600);
, you have to make sure that the serial monitor is actually set to a baud rate of 9600.
-
Thanks! I had no idea what baud rate is, but I figured it out with your answerBerit Larsen– Berit Larsen2016年10月27日 18:55:14 +00:00Commented Oct 27, 2016 at 18:55
Serial.begin(...)
). Then show the settings of your serial monitor. I think just doing that should give you the solution.