MPU-9250 with Kalman Filter

Dependencies:   ADXL362-helloworld MPU9250_SPI mbed

Fork of ADXL362-helloworld by Analog Devices

Files at this revision

API Documentation at this revision

Comitter:
mfurukawa
Date:
Mon May 23 12:51:26 2016 +0000
Parent:
1:f1e4ee4fc335
Child:
3:07aa20aa678d
Commit message:
et

Changed in this revision

ADXL362.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/ADXL362.lib	Mon May 23 09:24:25 2016 +0000
+++ b/ADXL362.lib	Mon May 23 12:51:26 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/AnalogDevices/code/ADXL362/#d7a1e4232900
+http://mbed.org/teams/AnalogDevices/code/ADXL362/#a082f032f5eb
--- a/main.cpp	Mon May 23 09:24:25 2016 +0000
+++ b/main.cpp	Mon May 23 12:51:26 2016 +0000
@@ -13,14 +13,21 @@
 ADXL362 adxl362(p8, p5, p6, p7);
 
 int main() {
+    pc.baud(115200);
     
-    pc.baud(115200);
+    //DigitalOut Ch1(p8);
+    //DigitalOut Ch2(p9);
+    //DigitalOut Ch3(p10);
+
+    //adxl362.set_cs_pin(&Ch1);
     
     adxl362.reset();
     wait_ms(600); // we need to wait at least 500ms after ADXL362 reset
     adxl362.set_mode(ADXL362::MEASUREMENT);
+    
     uint8_t x,y,z; 
     uint64_t t;
+    
     while(1) {
         x=adxl362.scanx_u8();
         y=adxl362.scany_u8();