MPU6050のサンプルプログラム2

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by LAURUS

Revision:
4:45dc5590abc0
Parent:
1:6cd6d2760856
Child:
16:174daf81eea0
diff -r 5358a691a100 -r 45dc5590abc0 GMS6_CR6/GMS6_CR6.cpp
--- a/GMS6_CR6/GMS6_CR6.cpp	Sat May 30 18:08:34 2015 +0000
+++ b/GMS6_CR6/GMS6_CR6.cpp	Thu Jun 11 15:43:07 2015 +0000
@@ -15,7 +15,7 @@
 void GMS6_CR6::read() {
     while(INT_flag);
     int ret = sscanf(buff2, "$GPGGA,%f,%f,%c,%f,%c,%d,%d", 
-                &time, &raw_latitude, &lat_hem, &raw_longitude, &lng_hem);
+                &time, &raw_latitude, &lat_hem, &raw_longitude, &lng_hem, &mode, &Ns);
     if(!ret) {
         p_pc->printf("sscanf Error\r\n");
         return;