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.
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It only takes a minute to sign up.
Sign up to join this communityChange Serial.write
to Serial.print
(or Serial.println
).
write
writes in binary, which gives you unprintable characters.
Make sure the selected baud (like 115200, 57600) in Serial Monitor matched the one specified in code like Serial.begin(115200)
I had the same problem, baud rate was the same in the code as it was in the serial monitor. I tried changing the baud rate in the code to 19200 and the same in the serial terminal and that fixed the problem. Hope this helps, not sure why it wasn't working with the 9600 baud value. Also found that clicking on the wrong baud rate in the terminal and back on the right one fixed the issue with it displaying gibberish.
Ctrl+K
to have your browser do this for you.