Skip to main content
typos
Source Link
gre_gor
  • 1.7k
  • 4
  • 18
  • 30

If serial data is coming in, and youyour code is doing a delay, the incoming data is stored in a buffer (of 64 bytes). But if you wait too long, the buffer will fill-up. Once it's full, any further incoming serial data isn't stored, and will be lost.

In you'reyour third output example, you get exactly 63 characters. Which is the maximum size a 64-byte cyclic buffer can store.

If serial data is coming in, and you code is doing a delay, the incoming data is stored in a buffer (of 64 bytes). But if you wait too long the buffer will fill-up. Once it's full, any further incoming serial data isn't stored, and will be lost.

In you're third output example, you get exactly 63 characters. Which is the maximum size a 64-byte cyclic buffer can store.

If serial data is coming in, and your code is doing a delay, the incoming data is stored in a buffer (of 64 bytes). But if you wait too long, the buffer will fill-up. Once it's full, any further incoming serial data isn't stored, and will be lost.

In your third output example, you get exactly 63 characters. Which is the maximum size a 64-byte cyclic buffer can store.

Source Link
Gerben
  • 11.3k
  • 3
  • 22
  • 34

If serial data is coming in, and you code is doing a delay, the incoming data is stored in a buffer (of 64 bytes). But if you wait too long the buffer will fill-up. Once it's full, any further incoming serial data isn't stored, and will be lost.

In you're third output example, you get exactly 63 characters. Which is the maximum size a 64-byte cyclic buffer can store.