Start a new topic

Can't get the display values when Arduino is busy?

Hi.. I'm trying to integrate my application to Nextion display.

I can send info to the display perfectly.!!

But when I need to get interactions from LCD it doesn't work fine..


When the loop keeps running, the results from nextion doesn't arrive corectly..


String vresultado;

 while (serial_display.available())

 {

  char vsaida = serial_display.read();

  Serial.print(vsaida);

 }


if I do a "return" after that.. it works perfect.

But if I let the loop runs,  its like the serial information from my SoftSerial gets corrupted or something.





Login or Signup to post a comment