You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
247 B
17 lines
247 B
14 years ago
|
#ifndef Stream_h
|
||
|
#define Stream_h
|
||
|
|
||
|
#include <inttypes.h>
|
||
|
#include "Print.h"
|
||
|
|
||
|
class Stream : public Print
|
||
|
{
|
||
|
public:
|
||
|
virtual int available() = 0;
|
||
|
virtual int read() = 0;
|
||
|
virtual int peek() = 0;
|
||
|
virtual void flush() = 0;
|
||
|
};
|
||
|
|
||
|
#endif
|