Make Wire inherit Stream

fixes: https://github.com/espressif/arduino-esp32/issues/57
This commit is contained in:
me-no-dev 2016-11-17 12:37:23 +02:00
parent c0266615d5
commit c82699a83d

View File

@ -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;