mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
Пробуем Stream для Esp32
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <SoftwareSerial.h>
|
||||
#else
|
||||
#include <HardwareSerial.h>
|
||||
#include <SoftwareSerial.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -28,7 +29,7 @@ class IoTUart : public IoTItem {
|
||||
#ifdef ESP8266
|
||||
SoftwareSerial* _myUART;
|
||||
#else
|
||||
HardwareSerial* _myUART;
|
||||
Stream* _myUART;
|
||||
#endif
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user