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: FXOS8700CQ MODSERIAL mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: main.cpp
- Revision:
- 43:6821a9c78c4b
- Parent:
- 38:564b312a719f
- Child:
- 46:da9d788f5d5a
--- a/main.cpp Sun Jul 24 03:10:21 2016 +0000
+++ b/main.cpp Sun Jul 24 16:58:17 2016 +0000
@@ -199,16 +199,16 @@
if (mdm_dbgmask & MDM_DBG_AT_CMDS) {
printf(MAG "ATCMD: " DEF "--> " GRN "%s" DEF "\n", cmd);
}
- mdm.puts(cmd);
- mdm.puts("\r\n");
-// while (n--) {
-// mdm.putc(*cmd++);
-// wait_ms(1);
-// };
-// mdm.putc('\r');
-// wait_ms(1);
-// mdm.putc('\n');
-// wait_ms(1);
+// mdm.puts(cmd);
+// mdm.puts("\r\n");
+ while (n--) {
+ mdm.putc(*cmd++);
+ wait_us(1000);
+ };
+ mdm.putc('\r');
+ wait_us(1000);
+ mdm.putc('\n');
+ wait_us(1000);
}
if (rsp_list) {
