button
Dependencies: BMI160 SDFileSystem USBDevice max32630fthr
Fork of MPSMAX by
IMU.h
00001 #ifndef IMU_H 00002 #define IMU_H 00003 00004 #include "mbed.h" 00005 #include "main.h" 00006 #ifndef M_PI 00007 #define M_PI 3.14159265358979323846 00008 #endif 00009 00010 void dumpImuRegisters(BMI160 &imu); 00011 void printRegister(BMI160 &imu, BMI160::Registers reg); 00012 void printBlock(BMI160 &imu, BMI160::Registers startReg, BMI160::Registers stopReg); 00013 00014 int initIMU(); 00015 void printIMUData(); 00016 float getIMUAngle(); 00017 void dumpImuRegisters(BMI160 &imu); 00018 void printRegister(BMI160 &imu, BMI160::Registers reg); 00019 void printBlock(BMI160 &imu, BMI160::Registers startReg, BMI160::Registers stopReg); 00020 00021 #endif
Generated on Wed Jul 13 2022 14:08:26 by 1.7.2