lecturing @binus
Dependencies: C12832 EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Revision 12:a46c037622a1, committed 2015-07-13
- Comitter:
- andisama
- Date:
- Mon Jul 13 15:45:40 2015 +0000
- Parent:
- 11:7a6df9a2dcdc
- Child:
- 13:e376acc8b3f5
- Commit message:
- Device Type IBM-Mbed_IoT_Starter_Kit; Device ID 160490180017;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 10 08:24:52 2015 +0000 +++ b/main.cpp Mon Jul 13 15:45:40 2015 +0000 @@ -30,13 +30,14 @@ #include "rtos.h" // Update this to the next number *before* a commit -#define __APP_SW_REVISION__ "10" +#define __APP_SW_REVISION__ "11" // updated by Andi Sama on July 13, 2015: 10 -> 11 // Configuration values needed to connect to IBM IoT Cloud -#define ORG "quickstart" // For a registered connection, replace with your org -#define ID "" // For a registered connection, replace with your id -#define AUTH_TOKEN "" // For a registered connection, replace with your auth-token -#define TYPE DEFAULT_TYPE_NAME // For a registered connection, replace with your type +// Modified by Andi Sama on July 13, 2015 for a registered IBM Mbed Iot Starter Kit device +#define ORG "cyt7tg" // For a registered connection, replace with your org +#define ID "160490180017" // For a registered connection, replace with your id +#define AUTH_TOKEN "nKqOFWlVz82BH(_c+c" // For a registered connection, replace with your auth-token +#define TYPE "IBM-Mbed_IoT_Starter_Kit" // For a registered connection, replace with your type #define MQTT_PORT 1883 #define MQTT_TLS_PORT 8883 @@ -124,7 +125,7 @@ switch (menuItem) { case 0: - lcd.printf("IBM IoT Cloud"); + lcd.printf("SWG> IBM IoT Cloud"); lcd.locate(0,16); lcd.printf("Scroll with joystick"); break; @@ -185,7 +186,7 @@ { lcd.cls(); lcd.locate(0,0); - lcd.printf("IBM IoT Cloud"); + lcd.printf("SWG> IBM IoT Cloud"); lcd.locate(0,16); lcd.printf(message); }