mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 17:45:49 +00:00
21 lines
594 B
C
21 lines
594 B
C
#ifndef ESPEASY_SERIAL_ESPEASYSERIALTYPE_H
|
|
#define ESPEASY_SERIAL_ESPEASYSERIALTYPE_H
|
|
|
|
|
|
#include "ESPEasySerialPort.h"
|
|
|
|
|
|
|
|
struct ESPeasySerialType {
|
|
static bool getSerialTypePins(ESPEasySerialPort serType,
|
|
int & rxPin,
|
|
int & txPin);
|
|
|
|
static ESPEasySerialPort getSerialType(ESPEasySerialPort typeHint,
|
|
int receivePin,
|
|
int transmitPin);
|
|
};
|
|
|
|
|
|
#endif // ifndef ESPEASY_SERIAL_ESPEASYSERIALTYPE_H
|