提交 c001996e 编写于 作者: P Patrick Van Oosterwijck 提交者: Me No Dev

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

上级 c1344ae0
......@@ -11,6 +11,11 @@
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#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 RX = 3;
......@@ -39,6 +44,6 @@ static const uint8_t T9 = 32;
#define ETH_PHY_MDC 16
#define ETH_PHY_MDIO 17
#define ETH_PHY_TYPE ETH_PHY_LAN8720
#define ETH_CLK_MODE ETH_CLOCK_GPIO0_IN
#define ETH_CLK_MODE ETH_CLOCK_GPIO0_IN
#endif /* Pins_Arduino_h */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册