1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

MCP3204 4-channel 12-bit ADC component (#2895)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
rsumner
2022-01-09 17:04:48 -06:00
committed by GitHub
parent 5844c1767b
commit a4431abea8
8 changed files with 182 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ sx1509:
- id: sx1509_hub
address: 0x3E
mcp3204:
cs_pin: GPIO23
sensor:
- platform: homeassistant
entity_id: sensor.hello_world
@@ -215,6 +218,9 @@ sensor:
- or:
- throttle: "20min"
- delta: 0.02
- platform: mcp3204
name: "MCP3204 Pin 1"
number: 1
#
# platform sensor.apds9960 requires component apds9960