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


Defines

PIN_DEVICE_MAX
EXTI_DEVICE_MAX
SPI_DEVICE_MAX
UART_DEVICE_MAX
ADC_DEVICE_MAX
FLASH_DEVICE_MAX
I2C_DEVICE_MAX