2

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?

Greenonline
3,1527 gold badges36 silver badges48 bronze badges
asked Oct 27, 2016 at 18:33
2
  • 3
    By printing at the same baud rate that you are reading at? Commented Oct 27, 2016 at 18:35
  • Please show the code that initializes the Serial communication (Serial.begin(...)). Then show the settings of your serial monitor. I think just doing that should give you the solution. Commented Oct 27, 2016 at 18:52

1 Answer 1

3

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.

answered Oct 27, 2016 at 18:39
1
  • Thanks! I had no idea what baud rate is, but I figured it out with your answer Commented Oct 27, 2016 at 18:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.