Files
IoTManager/include/SoftUART.h

18 lines
319 B
C
Raw Normal View History

2021-01-04 00:39:35 +01:00
#pragma once
#include "Consts.h"
#ifdef uartEnable
#include "SoftwareSerial.h"
#ifdef ESP8266
#include <SoftwareSerial.h>
extern SoftwareSerial* myUART;
#else
#include <HardwareSerial.h>
extern HardwareSerial* myUART;
#endif
extern void uartInit();
extern void uartHandle();
extern void parse(String& incStr);
#endif