Chat freely about anything...

User avatar
By FabCa
#21899 Hello :) I'm a really supernoooOOob :) To test my ESP-01 I've this:

void setup() {
Serial1.begin(9600);//58824
Serial.begin(9600);//115200
}

void loop() {
while(Serial1.available()) Serial.write(Serial1.read());
while(Serial.available()) Serial1.write(Serial.read());
}

But output is something as:
{訜Çr©çšÆæåpC„C!sgüàðððÀ˜˜ØØüÀà

instead of the right output.
Why?! :((
User avatar
By FabCa
#21953 I've changed my code...
Here is:

Serial1.begin(9600);
Serial1.setTimeout(5000);

while(Serial1.available()){
char c = Serial1.read();
Serial.write(c);
}

But I continue receiving this garbage :(((((
Here is: ]pJÄ! +ßLgJxø‡ÊtyЦÆA‡0³aÀ@†(

HELP! I become crazy!! :(((