mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 02:34:12 +01:00
20 lines
385 B
YAML
20 lines
385 B
YAML
|
i2c:
|
||
|
- id: i2c_hmc5883l
|
||
|
scl: 16
|
||
|
sda: 17
|
||
|
|
||
|
sensor:
|
||
|
- platform: hmc5883l
|
||
|
address: 0x68
|
||
|
field_strength_x:
|
||
|
name: HMC5883L Field Strength X
|
||
|
field_strength_y:
|
||
|
name: HMC5883L Field Strength Y
|
||
|
field_strength_z:
|
||
|
name: HMC5883L Field Strength Z
|
||
|
heading:
|
||
|
name: HMC5883L Heading
|
||
|
range: 130uT
|
||
|
oversampling: 8x
|
||
|
update_interval: 15s
|