B+IMU+SD
Dependencies: BMI160 RTC SDFileSystem USBDevice max32630fthr sd-driver
Fork of MPSMAXbutton by
IMU.h
00001 #ifndef IMU_H 00002 #define IMU_H 00003 00004 #include "mbed.h" 00005 #include "main.h" 00006 00007 #ifndef M_PI 00008 #define M_PI 3.14159265358979323846 00009 #endif 00010 00011 00012 void dumpImuRegisters(BMI160 &imu); 00013 void printRegister(BMI160 &imu, BMI160::Registers reg); 00014 void printBlock(BMI160 &imu, BMI160::Registers startReg, BMI160::Registers stopReg); 00015 00016 int initIMU(); 00017 void printIMUData(); 00018 float getIMUAngle(); 00019 void dumpImuRegisters(BMI160 &imu); 00020 void printRegister(BMI160 &imu, BMI160::Registers reg); 00021 void printBlock(BMI160 &imu, BMI160::Registers startReg, BMI160::Registers stopReg); 00022 00023 #endif
Generated on Tue Jul 12 2022 19:03:03 by 1.7.2