This is a program that turns your mbed device into a FireFly gateway, that publishes data from FireFly BLE modules to the IBM Watson IoT Platform.

Dependencies:   C12832 EthernetInterface MQTT mbed-rtos mbed

Fork of IBMIoTClientEthernetExample by IBM Watson IoT

Revision:
27:9727cdb5fa65
Parent:
25:93368e752d2d
--- a/C027.h	Fri Mar 04 09:14:23 2016 +0000
+++ b/C027.h	Wed Mar 30 07:05:50 2016 +0000
@@ -22,10 +22,9 @@
 PwmOut g(D9);
 PwmOut b(D8);
 DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3);
-MMA7660 MMA(D14, D15);
-LM75B sensor(D14,D15);
 DigitalIn Up(A2); DigitalIn Down(A3); DigitalIn Left(A4); DigitalIn Right(A5); DigitalIn Click(D4);
 AnalogIn ain1 (A0); AnalogIn ain2 (A1);
+
 RawSerial pc(USBTX, USBRX);
 RawSerial xbee(P4_28,P4_29);