Proyecto Final – Medición de Inclinación 0.0.1
Este proyecto utiliza la placa NUCLEO-STM32F446RE y permite detectar y visualizar en tiempo real la inclinación mediante el sensor MPU-6050.
|
Implementación del driver MPU6050 usando dev_i2cm (HAL I²C). Más...
#include "mpu6050_port.h"
Funciones | |
HAL_StatusTypeDef | MPU6050_is_ready (void) |
Verifica la presencia del MPU6050 en el bus I2C. | |
HAL_StatusTypeDef | MPU6050_register_write (uint8_t reg, uint8_t data) |
Escribe un registro del MPU6050. | |
HAL_StatusTypeDef | MPU6050_register_block_write (uint8_t *data, uint16_t len) |
Escribe un bloque de datos del MPU6050. | |
HAL_StatusTypeDef | MPU6050_register_read (uint8_t reg, uint8_t *data) |
Lee un registro del MPU6050. | |
HAL_StatusTypeDef | MPU6050_register_block_read (uint8_t reg, uint8_t *data, uint16_t len) |
Lee un registro del MPU6050. |
Implementación del driver MPU6050 usando dev_i2cm (HAL I²C).