开发板管理地址

https://arduino.esp8266.com/stable/package_esp8266com_index.json

引脚对照表

2024-08-19T12:10:38.png

2024-08-19T12:11:15.png

Label (丝印)GPIO序号InputOutputNotes
D0GPIO16no interruptno PWM or I2C supportHIGH at boot, used to wake up from deep sleep
D1GPIO5OKOKoften used as SCL (I2C)
D2GPIO4OKOKoften used as SDA (I2C)
D3GPIO0pulled upOKconnected to FLASH button, boot fails if pulled LOW
D4GPIO2pulled upOKHIGH at boot, connected to on-board LED, boot fails if pulled LOW
D5GPIO14OKOKSPI (SCLK)
D6GPIO12OKOKSPI (MISO)
D7GPIO13OKOKSPI (MOSI)
D8GPIO15pulled to GNDOKSPI (CS), Boot fails if pulled HIGH
RXGPIO3OKRX pinHIGH at boot
TXGPIO1TX pinOKHIGH at boot, debug output at boot, boot fails if pulled LOW
A0ADC0Analog InputX