MPU9250 library using dmp, it uses sparkfun arduino library and invensense Motion driver 6.1.
Dependencies: MotionDriver_6_1 SparkFunMPU9250-DMP mbed
Diff: main.cpp
- Revision:
- 6:981cb17c7ea3
- Parent:
- 5:3a9280cea2ff
- Child:
- 7:a862072e0981
diff -r 3a9280cea2ff -r 981cb17c7ea3 main.cpp --- a/main.cpp Fri Aug 11 07:44:36 2017 +0000 +++ b/main.cpp Mon Aug 14 07:11:49 2017 +0000 @@ -1,7 +1,7 @@ #include "SparkFunMPU9250-DMP.h" #include "mdcompat.h" - -Serial pc(USBTX,USBRX); +#include "stm32f103c8t6.h" +Serial pc(SERIAL_TX,SERIAL_RX); DigitalOut led(LED1); MPU9250_DMP imu; unsigned char whoami[1]={0};