#ifndef MPU6000_H #define MPU6000_H #include #include typedef struct { float pitch; // degrees, filtered float pitch_rate; // degrees/sec (raw gyro) float accel_x; // g float accel_z; // g } IMUData; bool mpu6000_init(void); void mpu6000_read(IMUData *data); #endif