Hi, i am using this app to send a message to an esp32. I can send it from esp32 to app and can see it on the terminal but can not do it vice versa. Didn't change anyting on the android side (except the baud rate which is 2400). Here is my esp32 code. Can't decide which side has the problem.
Hi, i am using this app to send a message to an esp32. I can send it from esp32 to app and can see it on the terminal but can not do it vice versa. Didn't change anyting on the android side (except the baud rate which is 2400). Here is my esp32 code. Can't decide which side has the problem.
define RXD2 15
define TXD2 14
void setup() { Serial2.begin(2400, SERIAL_8N1, RXD2, TXD2); Serial.begin(2400); Serial.println("Started"); }
void loop() { while (Serial.available()) { char c = Serial.read(); Serial2.print(c);
}
while (Serial2.available()) { char c = Serial2.read(); Serial.println(c);
} delay(10); }