Update to I2C docs to explain I2C daisy chaining (#812)

Added further information on how I2C devices can be daisy-chained together on one bus to make this clearer for new users for the I2C bus and to ESPHome.
This commit is contained in:
The Impaler 2020-11-08 21:23:25 +00:00 committed by GitHub
parent d4032b13b4
commit bdbf972a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,13 @@ I²C Bus
:image: i2c.png
:keywords: i2c, iic, bus
This component sets up the I²C bus for your ESP32 or ESP8266. In order for those components
This component sets up the I²C bus for your ESP32 or ESP8266. In order for these components
to work correctly, you need to define the I²C bus in your configuration. Please note the ESP
will enable its internal 10kΩ pullup resistors for these pins, so you usually don't need to
put on external ones.
put on external ones. You can use multiple devices on one I²C bus as each device is given a
unique address for communicating between between it and the ESP. You can do this by hopping
wires from the two lines (SDA and SCL) from each device board to the next device board or by
connecting the wires from each device back to the two I²C pins on the ESP.
.. code-block:: yaml