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.
Fork of WizFi310Interface_Legacy_newv2 by
Revision 3:8d47f7e3f9d6, committed 2017-09-28
- Comitter:
- ajeet3004
- Date:
- Thu Sep 28 08:49:46 2017 +0000
- Parent:
- 2:3194ebe06182
- Commit message:
- PIR sensor
Changed in this revision
| WizFi310Interface.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3194ebe06182 -r 8d47f7e3f9d6 WizFi310Interface.cpp
--- a/WizFi310Interface.cpp Mon Sep 18 08:11:28 2017 +0000
+++ b/WizFi310Interface.cpp Thu Sep 28 08:49:46 2017 +0000
@@ -92,7 +92,8 @@
int WizFi310Interface::test_twitter()
-{
+{ Timer timer;
+ timer.start();
// TCPSocketConnection();
int errConnect;
char http_cmd[1000] = "";
@@ -111,7 +112,7 @@
}
}
- sprintf((char *)http_cmd,"GET http://arduino-tweet.appspot.com/update?token=904626807491530753-sOaChz44g9YFS7EuvRkR75l1W9T303K&status=hell\r\n");
+ sprintf((char *)http_cmd,"GET http://arduino-tweet.appspot.com/update?token=3301685856-5P62Kt6NhZtqhxsBkVbOYRMpGhalWQjOfZKEEKM&status=SomebodyEnteredYourHome%d\r\n",timer.read_ms());
TCPconnection.send_all(http_cmd, sizeof(http_cmd));
