1

Serial Monitor

My Serial Monitor is displaying unreadable characters. If anybody can give me some insight on why this would be happening please let me know.

Thank You.

  • 3
    It greatly helps to post the code as text (copy from IDE, paste here) - that way people can copy/paste it into their own IDE for testing. What you have done forces people to read from your image, and retype. Please format the code using the code formatting markdown (four leading spaces). For help see Markdown help. You should be able to do this by selecting the code and pressing Ctrl+K to have your browser do this for you. – Nick Gammon Feb 26 '16 at 5:28
6

Change Serial.write to Serial.print (or Serial.println).

write writes in binary, which gives you unprintable characters.

0

Make sure the selected baud (like 115200, 57600) in Serial Monitor matched the one specified in code like Serial.begin(115200)

  • This is sound general advice, however the image in the question clearly shows that the baud rates match. – Nick Gammon Mar 1 '18 at 6:05

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.