forked from espressif/arduino-esp32
Make Wire inherit Stream
fixes: https://github.com/espressif/arduino-esp32/issues/57
This commit is contained in:
@ -27,10 +27,11 @@
|
||||
#include <esp32-hal.h>
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "Stream.h"
|
||||
|
||||
#define I2C_BUFFER_LENGTH 128
|
||||
|
||||
class TwoWire
|
||||
class TwoWire: public Stream
|
||||
{
|
||||
protected:
|
||||
uint8_t num;
|
||||
|
Reference in New Issue
Block a user