0

I'm trying to send data via serial from my Arduino nano to my ESP. Its an integer from 1 to 4 digits so something like 0, 13, 1234, 123, ...

Every thing works fine but when the data comes too fast it stopps the output and then it print all the data on the screen.

I use this method to recieve data.

void loop() { // run over and over
        if (Serial.available()) {
                incomingByte = Serial.readString();
                Serial.println(incomingByte);
        }
}
  • how does it print data to screen when the output is stopped? ... it is not clear what you are saying – jsotola Jun 28 '19 at 1:47
  • What stops? The Arduino or the ESP? And how do you know? You haven't told enough for people to help. – st2000 Jun 28 '19 at 2:59
0

From what you have posted, assuming this is the ESP code in the question, it is clear that for every character the Arduino sends the ESP the ESP will send 3 back. So at some speed this will likly stop working

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.