This is not to search every time I need it !!!
Correspondence pins between NodeMCU and other ESP8266 modules.
File pins_arduino.h
static const uint8_t SDA = 4;
static const uint8_t SCL = 5;
static const uint8_t LED_BUILTIN = 16;
static const uint8_t BUILTIN_LED = 16;
NodeMcu | ESP8266 |
D0 | GPIO 16 |
D1 | GPIO 5 |
D2 | GPIO 4 |
D3 | GPIO 0 |
D4 | GPIO 2 |
D5 | GPIO 14 |
D6 | GPIO 12 |
D7 | GPIO 13 |
D8 | GPIO 15 |
D9 | GPIO 3 |
D10 | GPIO 1 |
A better image:
No comments:
Post a Comment