Skip to content
Snippets Groups Projects
Commit fa6f6d72 authored by bbartels's avatar bbartels Committed by dawehr
Browse files

quad: Rename iic files to support the support the meaning of LiDAR

parent eb0a7ca7
No related branches found
No related tags found
1 merge request!6Implement LIDAR functions
...@@ -34,11 +34,13 @@ ...@@ -34,11 +34,13 @@
#define IIC0_INTR_EN (0xE0004024) #define IIC0_INTR_EN (0xE0004024)
#define IIC0_TIMEOUT_REG_ADDR (0xE000401C) #define IIC0_TIMEOUT_REG_ADDR (0xE000401C)
//
// MPU9150 Sensor Defines (Address is defined on the Sparkfun MPU9150 Datasheet) // MPU9150 Sensor Defines (Address is defined on the Sparkfun MPU9150 Datasheet)
//
#define MPU9150_DEVICE_ADDR 0b01101000 #define MPU9150_DEVICE_ADDR 0b01101000
#define MPU9150_COMPASS_ADDR 0x0C #define MPU9150_COMPASS_ADDR 0x0C
#define ACCEL_GYRO_READ_SIZE 14 //Bytes #define ACCEL_GYRO_READ_SIZE 14 //Bytes
#define ACCEL_GYRO_BASE_ADDR 0x3B //Starting register address #define ACCEL_GYRO_BASE_ADDR 0x3B //Starting register address
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment