mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
23 lines
385 B
YAML
23 lines
385 B
YAML
|
i2c:
|
||
|
- id: i2c_mpu6050
|
||
|
scl: 5
|
||
|
sda: 4
|
||
|
|
||
|
sensor:
|
||
|
- platform: mpu6050
|
||
|
address: 0x68
|
||
|
accel_x:
|
||
|
name: MPU6050 Accel X
|
||
|
accel_y:
|
||
|
name: MPU6050 Accel Y
|
||
|
accel_z:
|
||
|
name: MPU6050 Accel z
|
||
|
gyro_x:
|
||
|
name: MPU6050 Gyro X
|
||
|
gyro_y:
|
||
|
name: MPU6050 Gyro Y
|
||
|
gyro_z:
|
||
|
name: MPU6050 Gyro z
|
||
|
temperature:
|
||
|
name: MPU6050 Temperature
|