Answer the question
In order to leave comments, you need to log in
Why is data lost when sending to esp8266?
Hello! I have an Arduino UNO with an esp8266-1 module connected to it. And everything would be fine, but when sending data from NodeJS, they are distorted on the arduino.
The data is sent via TCP.
...
socket.write("SOMECMD\n");
...
if(espSerial.avaliable()) {
ch = espSerial.read(); //char
str += ch; //string
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question