mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
ads1118 component (#5711)
Co-authored-by: Solomon <solomon.gorkhover@finnpartners.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -322,6 +322,12 @@ ads1115:
|
||||
address: 0x48
|
||||
i2c_id: i2c_bus
|
||||
|
||||
ads1118:
|
||||
spi_id: spi_bus
|
||||
cs_pin:
|
||||
allow_other_uses: true
|
||||
number: GPIO12
|
||||
|
||||
as5600:
|
||||
i2c_id: i2c_bus
|
||||
dir_pin:
|
||||
@@ -571,6 +577,14 @@ sensor:
|
||||
state_topic: hi/me
|
||||
retain: false
|
||||
availability:
|
||||
- platform: ads1118
|
||||
name: ads1118 adc
|
||||
multiplexer: A0_A1
|
||||
gain: 1.024
|
||||
type: adc
|
||||
- platform: ads1118
|
||||
name: ads1118 temperature
|
||||
type: temperature
|
||||
- platform: as5600
|
||||
name: AS5600 Position
|
||||
raw_position:
|
||||
|
Reference in New Issue
Block a user