Add default pin mapping for Serial1 and Serial2 for wESP32 (#2409)

This commit is contained in:
Patrick Van Oosterwijck 2019-02-14 05:05:23 -07:00 committed by Me No Dev
parent c1344ae094
commit c001996eef

View File

@ -11,6 +11,11 @@
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34) #define digitalPinHasPWM(p) (p < 34)
#define TX1 13
#define RX1 12
#define TX2 33
#define RX2 39
static const uint8_t TX = 1; static const uint8_t TX = 1;
static const uint8_t RX = 3; static const uint8_t RX = 3;