mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
0400c2d3a39315686290c6d4d0f6f4e8ca458c74
The RP2040 I2C bus was previously assigned Wire/Wire1 based on the order I2C buses were defined in YAML, not based on which GPIO pins were used. This caused I2C1 to not work when only a single bus was configured with I2C1 pins (e.g., GPIO6/GPIO7). Now selects the correct Wire instance using the RP2040/RP2350 GPIO pin mapping formula: (pin / 2) % 2. Also adds config validation to catch SDA/SCL pin mismatches and duplicate controller assignments. Closes https://github.com/esphome/esphome/issues/14742
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
614 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
