ESP8266 D1 mini & ESP-12
經過 ESP-12 的教訓
PS:程式中也可以直接用 D1
例如:digitalWrite(D1,HIGHT);
先抓圖來對腳再說
https://www.wemos.cc/product/d1-mini.html
http://escapequotes.net/esp8266-nodemcu-pin-gpio/
PS:程式中也可以直接用 D1
例如:digitalWrite(D1,HIGHT);
先抓圖來對腳再說
https://www.wemos.cc/product/d1-mini.html
http://escapequotes.net/esp8266-nodemcu-pin-gpio/
Pin
Pin | Function | ESP-8266 Pin |
TX | TXD | TXD |
RX | RXD | RXD |
A0 | Analog input, max 3.3V input | A0 |
D0 | IO | GPIO16 |
D1 | IO, SCL | GPIO5 |
D2 | IO, SDA | GPIO4 |
D3 | IO, 10k Pull-up | GPIO0 |
D4 | IO, 10k Pull-up, BUILTIN_LED | GPIO2 |
D5 | IO, SCK | GPIO14 |
D6 | IO, MISO | GPIO12 |
D7 | IO, MOSI | GPIO13 |
D8 | IO, 10k Pull-down, SS | GPIO15 |
G | Ground | GND |
5V | 5V | - |
3V3 | 3.3V | 3.3V |
RST | Reset | RST |
留言
張貼留言