It can be run only with mbed LPC1768, LAN socket and DHT11 sensor. mbed application board is not needed.

Dependencies:   DHT11 EthernetInterface MQTT mbed-rtos mbed

Fork of IBMIoTClientEthernetExample by IBM Watson IoT

Example Photo /media/uploads/strysd/simpleiot.png

- 水魚堂さんの回路図エディタ BSch3V を利用して作成しました。回路図データ /media/uploads/strysd/simpleiot.ce3

- DHT11 は、masahiro's electronic lab さんで配布されている部品ライブラリを利用しました。http://www.eleclabo.com/denshi/doc/bschlib.html

/media/uploads/strysd/simpleiot_jittai_1.jpg

/media/uploads/strysd/simpleiot_jittai_2.jpg

/media/uploads/strysd/simpleiot_jittai_3.jpg

Revision:
2:d8fddda78c38
Parent:
1:1f187285667c
Child:
3:69ef39823eef
--- a/main.cpp	Fri Jul 18 07:57:45 2014 +0000
+++ b/main.cpp	Fri Jul 18 09:27:32 2014 +0000
@@ -16,8 +16,8 @@
 #include "C12832.h"
 #include "LM75B.h"
 #include "MMA7660.h"
-#include "C12832.h"
-#include "MQTTEthernetIoT.h"
+#include "EthernetInterface.h"
+#include "MQTTSocket.h"
 #include "MQTTClient.h"
 #include "ConfigFile.h"
 #include "Arial12x12.h"
@@ -163,7 +163,11 @@
     } else {
         quickstartMode = true;
         org = "quickstart";
-        type = "iotsample-mbed-lpc1768";
+        #ifdef TARGET_K64F
+            type = "iotsample-mbed-k64f";
+        #else
+            type = "iotsample-mbed-lpc1768";
+        #endif
         id = mac;
     }