Demo application of SNICInterface library for Murata TypeYD, which reports sensor data periodically to Xively cloud server . Hardware platform: mbed application board (https://mbed.org/cookbook/mbed-application-board), mbed LPC1768 (https://mbed.org/platforms/mbed-LPC1768/) and TypeYD.

Dependencies:   C12832 LM75B MMA7660 SNICInterface libxively mbed-rtos mbed

Revision:
10:86ffba646df1
Parent:
9:c5dc85d192e2
Child:
11:bdf601a405fc
diff -r c5dc85d192e2 -r 86ffba646df1 main.cpp
--- a/main.cpp	Mon Oct 14 11:58:41 2013 +0100
+++ b/main.cpp	Mon Oct 14 12:08:18 2013 +0000
@@ -2,11 +2,16 @@
 #include "EthernetInterface.h"
 
 #define XI_FEED_ID 128488 // set Xively Feed ID (numerical, no quoutes
-#define XI_API_KEY "T4KXAH_dasgw1PWBPc3fdsfsdgsdy-dUc4ND0g" // set Xively API key (double-quoted string) 
+#define XI_API_KEY "T4KXAH_dasgw1PWBPc3fdsfsdgsdy-dUc4ND0g" // set Xively API key (double-quoted string)
+
+#include "app_board_io.h"
 
 #include "xively.h"
 #include "xi_err.h"
 
+#include "MMA7660.h"
+#include "LM75B.h"
+
 MMA7660 axl(p28, p27);
 LM75B tmp(p28, p27);