c++arduinoserial-portcommunicationesp32

My esp32 print weird characters but I do anything


I only want to print simple text but it print unilimited weird character and never stop, (when I remove Serial.print() it continues to print weird characters).

This is the weird text that loop

-*⸮ql⸮7⸮$⸮
*!8P⸮⸮⸮V⸮)3 ⸮;⸮ 1⸮zY⸮b⸮ڔ!⸮⸮$q⸮,*⸮ı⸮N
⸮a!u⸮   1⸮zY⸮b⸮⸮⸮⸮⸮⸮!⸮  1⸮zY⸮W(⸮⸮⸮xI⸮
,*-⸮l⸮N
⸮a!u⸮,*⸮⸮⸮nbb⸮H⸮⸮⸮⸮,*⸮⸮⸮nbb⸮H$⸮
    1⸮zY⸮b⸮ڔ!X⸮⸮⸮⸮,*⸮⸮⸮nbb⸮H$⸮
*!8Pt⸮

My code :

void setup() {

}

void loop() {

}

I hope you can help me, thanks :)

UPDATE

I completely removed Serial.begin(9600) and Serial.print() and I still have the problem O_o


Solution

  • I just changed the Flash memory speed to 40MHz instead of 80MHz