0

The array is 16 analog inputs, till now these inputs are not connected to anything so they are random, except the first three elements of the array, connected to GND, in order to see the beginning of the array. The 2560 is continuously sending this array.

When using certain delay in the 2560 at each loop, it seems the array is received always correctly in ESP8266.

But with no delay, occasionally, the three zeros doesn't appear in the first 3 positions of the array, and are for example, in positions 7,8,9.

What is the explanation of this?

2
  • 2
    we don't see what you see. please add code and output – Juraj Aug 7 '20 at 11:05
  • Thanks for your answer, I solved the problem by adapting the delay to my requirements but I guess the issue was related with serial buffer size. – javierazcoiti Aug 16 '20 at 16:49

Your Answer

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

Browse other questions tagged or ask your own question.