Add MCP3221 i2c A-D-Converter (#7764)

This commit is contained in:
philippderdiedas
2025-11-07 02:25:14 +01:00
committed by GitHub
parent ba5fa7c10a
commit 5d20e3a3b4
11 changed files with 136 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
sensor:
- platform: mcp3221
id: test_id
name: voltage
i2c_id: i2c_bus
reference_voltage: 3.3V
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
<<: !include common.yaml
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
<<: !include common.yaml
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-s3-idf.yaml
<<: !include common.yaml
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
<<: !include common.yaml
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
<<: !include common.yaml