This is the SerialBuffered class, which wraps Serial and adds interrupt-powered buffered reading (so it will catch inbound data even when your app is busy doing something else) and simple read timeouts. There's a tiny demo app in there too.

Dependencies:   mbed

History

default tip

2009-11-18, by jarkman [Wed, 18 Nov 2009 21:27:15 +0000] rev 0