Skip to content
Commit 224b5b74 authored by Tilmann Unte's avatar Tilmann Unte Committed by Benjamin Cabé
Browse files

drivers: sensor: mpu6050: scale settings to DT, adds sample rate setting



Moves the MPU6050 accel/gyro scale settings from KConfig to Devicetree.
Adds a new setting for the MPU6050 sample rate divider register and
transmits it to the sensor upon initialization.
This helps to reduce the interrupt firing rate when combined with the
data ready trigger.
A default division factor is provided which ensures compatibility with
existing applications.
The MPU6050 sample application is extended and used for hardware tests.

Signed-off-by: default avatarTilmann Unte <unte@es-augsburg.de>
parent 41d5eed0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment