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
Diff: C027.h
- Revision:
- 24:437c753be4fd
- Parent:
- 11:7a6df9a2dcdc
- Child:
- 25:93368e752d2d
diff -r e6b69714b59a -r 437c753be4fd C027.h --- a/C027.h Mon Nov 30 09:12:22 2015 +0000 +++ b/C027.h Tue Mar 01 06:20:45 2016 +0000 @@ -26,6 +26,9 @@ 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); +Serial pc(USBTX, USBRX); +Serial xbee(P4_28,P4_29); + #define LED2_OFF 0 #define LED2_ON 1