16.5. esp8266
— Esp8266¶
16.5.1. I2C¶
The ESP8266 does not have hardware I2C support, but can use the i2c_soft — Software I2C driver instead. By default two i2c — I2C compatability devices are instantiated:
Device | SCL | SDA |
---|---|---|
i2c0 | GPIO5 | GPIO4 |
i2c1 | GPIO12 | GPIO13 |
Hardware reference: https://github.com/eerimoq/hardware-reference/tree/master/esp8266
Source code: src/mcus/esp8266/mcu.h