Sample program for using Pubnub on AT&T IoT Starter Kit (which has the WNC modem)
Dependencies: Pubnub_mbed2_sync WNCInterface mbed-rtos mbed
Fork of WNCInterface_M2XMQTTdemo by
Diff: main.cpp
- Revision:
- 6:853f6aac9a9d
- Parent:
- 5:f9dc2e9e53a8
- Child:
- 8:57a5d7fbba6d
diff -r f9dc2e9e53a8 -r 853f6aac9a9d main.cpp --- a/main.cpp Fri Oct 07 13:50:48 2016 +0000 +++ b/main.cpp Sat Oct 08 00:55:43 2016 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" #include "WNCInterface.h" -#define DEBUG +//#define DEBUG #define MBED_PLATFORM -#define LOOP_DELAY_MS 3000 +#define LOOP_DELAY_MS 8000 #include "minimal-mqtt.h" #include "minimal-json.h"