Add default pin mapping for Serial1 and Serial2 for wESP32 (#2409)
This commit is contained in:
parent
c1344ae094
commit
c001996eef
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user