Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support mbed-dev
Fork of C027_SupportTest_coapp by
Diff: main.cpp
- 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();
