mirror of
https://github.com/esphome/esphome.git
synced 2024-12-20 16:18:49 +01:00
20 lines
383 B
YAML
20 lines
383 B
YAML
|
i2c:
|
||
|
- id: i2c_hmc5883l
|
||
|
scl: 5
|
||
|
sda: 4
|
||
|
|
||
|
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
|