itsanjan / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

HardwareSerial overflow of input detection #637

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

If more data is received over Serial than the buffer can hold (or is not 
processed in time due to whatever blocking reason)

It is not difficult to add a counter in the Serial ringbuffer to count the lost 
characters. A function overflow() can be called to retrieve this counter.

see - http://arduino.cc/forum/index.php/topic,71833.msg538108.html#msg538108

Original issue reported on code.google.com by rob.till...@gmail.com on 10 Sep 2011 at 4:11