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

Files at this revision

API Documentation at this revision

Comitter:
kishino
Date:
Tue Nov 25 00:33:30 2014 +0000
Parent:
26:b666d1b66f62
Commit message:
Add the definition of serial for debugging output.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Nov 14 00:56:25 2014 +0000
+++ b/main.cpp	Tue Nov 25 00:33:30 2014 +0000
@@ -36,10 +36,12 @@
 C12832 lcd(p5, p7, p6, p8, p11);
 MMA7660 axl(p28, p27);
 LM75B tmp(p28, p27);
+Serial pc(USBTX, USBRX);    /* for DEBUG_PRINT */
 #elif defined(TARGET_KL46Z)
 C12832 lcd(D11, D13, D12, D7, D10);
 MMA7660 axl(I2C_SDA, I2C_SCL);
 LM75B tmp(I2C_SDA, I2C_SCL);
+Serial pc(P2_12, P2_11);    /* for DEBUG_PRINT */
 #endif
 
 #include "logo.h"