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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
12345678910111213141516171819202122 |
- /*
- * Override original arduino USBAPI.h.
- */
- #include <stdint.h>
- #include "Stream.h"
-
-
- class NullSerial : public Stream
- {
- public:
- void begin(uint16_t baud_count);
- void end(void);
-
- virtual int available(void);
- virtual void accept(void);
- virtual int peek(void);
- virtual int read(void);
- virtual void flush(void);
- virtual size_t write(uint8_t);
- operator bool();
- };
- extern NullSerial Serial;
|