Hi, I need help for my code.
1 month ago, nothing in particular, but suddently when i upload it, in serial monitor those caracter keep comming : ���������������� (like litteraly thoses one not that you can't see them) and some little squares
I don't know what changed, because it seems that the code is working but not the serial monitor
Thanks for the future help
Check if the number in Serial.begin is the same as the setting of your serial monitor.
2 Likes
Welcome! That is not uncommon with the ESP devices, they start the user code before switching there default baud to the users baud. This would show up line you show and or with more garbage for about a second then all works norma. I usually put a delay(3000) in the setup before serial.begin() to eliminate the problem.
2 Likes
You may have a boot mode issue, if your processor is an ESP8266 or ESP32.
ESP8266 reports boot messages with 78400 baud, ESP32 with 115200 baud.
Learn: please always report the processor used!
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.