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: LPC1768.h
- Revision:
- 25:93368e752d2d
- Parent:
- 24:437c753be4fd
- Child:
- 27:9727cdb5fa65
--- a/LPC1768.h Tue Mar 01 06:20:45 2016 +0000 +++ b/LPC1768.h Fri Mar 04 07:22:09 2016 +0000 @@ -35,8 +35,8 @@ //Matjaz //I2CSlave slave(p28, p27); //p9sda p10scl //I2CSlave slave(p9, p10); -Serial pc(USBTX, USBRX); -Serial xbee(p9,p10); +RawSerial pc(USBTX, USBRX); +RawSerial xbee(p9,p10); //Serial xbee(p13,p14); #define LED2_OFF 0