data lost in serial monitor

i send data from arduino to nodemcu at 9600 baud, the thing is everything works fine, except some losses in serial monitor,

85.00
32.00
85.00
2.00
85.00
32.00
85.00
32.00
85.00
32.00
85.00
32.00
85.00
32.00
85.00
2.00
85.00
32.00
85.00
32.00
85.00
32.00

is there a way, i use softwareserial, but nodemcu does not support altsoftserial, any solutions to change or to chnage baud rate ?

Even though you should not be losing large numbers of characters over Serial, every Serial interface should be written with the assumption that some or all characters can disappear at any time. If the thing gets unplugged, does it wait forever?

Re-write your interface so that the receiver can detect and recover from missing data. Follow Robin's Serial Input Basics tutorial.

any solutions

Of course. Fix your code.

Since you didn't post it, you are completely on your own to do that.

I don’t see where you loose data.

Hi,
I think the OP is sending 85 and 32 repetively, so 2 is a loss of one digit.

Tom... :slight_smile:

But OP did not say so :wink: So we just have to guess 8)

sterretje:
But OP did not say so :wink: So we just have to guess 8)

Yup, isn't that what we are expected to do? :slight_smile: :slight_smile: