IM920地温観測システム CQ 2017ARMセミナー用サンプルプログラム

Dependencies:   C027_Support_ForIM920

Fork of C027_SupportTest by u-blox

Revision:
31:a07d0f76dc81
Parent:
29:16f1037626e3
Child:
32:b838fcaba45e
--- a/main.cpp	Wed Nov 18 16:07:01 2015 +0000
+++ b/main.cpp	Thu Aug 11 07:04:52 2016 +0000
@@ -49,7 +49,7 @@
     GPSSerial gps; 
 #endif
     // Create the modem object
-    MDMSerial mdm;
+    MDMSerial mdm; // use mdm(D1,D0) if you connect the cellular shield to C027
     //mdm.setDebug(4); // enable this for debugging issues 
     // initialize the modem 
     MDMParser::DevStatus devStatus = {};
@@ -288,7 +288,11 @@
                 }
             }
         }
-        wait_ms(wait);
+#ifdef RTOS_H
+        Thread::wait(wait);
+#else
+        ::wait_ms(wait);
+#endif
     }
     gps.powerOff();
     mdm.powerOff();