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
main.cpp
- Committer:
- XinZhangMS
- Date:
- 2018-08-23
- Revision:
- 0:9d223777f962
File content as of revision 0:9d223777f962:
#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;
}
