mirror of https://github.com/arendst/Tasmota.git
Update usable pins for ESP8255
parent
c265b158a7
commit
e246b8fcb3
|
@ -107,7 +107,7 @@ The [power supplied to the device](https://www.letscontrolit.com/wiki/index.php?
|
||||||
|
|
||||||
## Usable pins
|
## Usable pins
|
||||||
|
|
||||||
The ESP8266 has 17 GPIO pins (0-16), however, you can only use 11 of them, because 6 pins (GPIO 6 - 11) are used to connect the flash memory chip. This is the small 8-legged chip right next to the ESP8266. If you try to use one of these pins, you might crash your program.
|
The ESP8266 and ESP8255 have 17 GPIO pins (0-16) but several are [reserved or have constraints](https://i.imgur.com/IH1fYqF.jpg). Do not use any of the _**reserved**_ pins. If you do, you might crash your program. On the ESP8266, six pins (GPIO 6 - 11) are used to interface the flash memory (the small 8-legged chip usually right next to the ESP8266). The ESP8255 has its flash memory integrated into the chip which frees up GPIO 9 and 10.
|
||||||
|
|
||||||
GPIO 1 and 3 are used as TX and RX of the hardware Serial port (UART), so in most cases, you can’t use them as normal I/O while sending/receiving serial data.
|
GPIO 1 and 3 are used as TX and RX of the hardware Serial port (UART), so in most cases, you can’t use them as normal I/O while sending/receiving serial data.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue