Pre-reqs:
Electrical General Documentation
The Data Acquisition System for Longhorn Racing Solar can be divided into the following subsystems:
...
Reading and writing to the IMU
Your job is to utilize modify the accelerometer, gyroscope, and imu drivers to properly interface between the STM32 and the LSM6.
The following is a code snippet found in the lsm6.c file:
Code Block |
---|
uint8_t LSM6DSL_AccReadID(void)
{
/* IO interface initialization */
SENSOR_IO_Init();
/* Read value at Who am I register address */
return (SENSOR_IO_Read(LSM6DSL_ACC_GYRO_I2C_ADDRESS_LOW, LSM6DSL_ACC_GYRO_WHO_AM_I_REG));
} |
However, trying
Display
10/05/24
Ahead of Schedule?
...