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: azure-iot-c-sdk-f767zi
Fork of samplemqtt by
Diff: main.cpp
- Revision:
- 0:9d223777f962
diff -r 000000000000 -r 9d223777f962 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Aug 23 06:21:34 2018 +0000
@@ -0,0 +1,23 @@
+#include "mbed-os/mbed.h"
+#include "iothub_client_sample_mqtt.h"
+
+Serial pc(USBTX, USBRX, 115200);
+DigitalOut led3(LED3);
+NetworkInterface* network;
+
+int main(void)
+{
+
+ iothub_client_sample_mqtt_run();
+ while (true)
+ {
+ led3 = !led3;
+ wait(10);
+
+ }
+
+
+ return 0;
+}
+
+
