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:

ö’ö’ƒÕ•¬­ƒ´¼Õƒö­“ƒ²ƒƒƒ¬‘¼¬Õ”’­­“ƒ¬•

Why is it unreadable, and how do I make it print a readable format?

  • 3
    By printing at the same baud rate that you are reading at? – Majenko Oct 27 '16 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. – jfpoilpret Oct 27 '16 at 18:52
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.

  • Thanks! I had no idea what baud rate is, but I figured it out with your answer – Berit Larsen Oct 27 '16 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.