portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: DeviceIO.cpp
- Revision:
- 55:ed3a2751a2b5
- Parent:
- 52:8f1370084268
diff -r 7dcc8898d87d -r ed3a2751a2b5 DeviceIO.cpp --- a/DeviceIO.cpp Wed Sep 03 14:36:55 2014 +0000 +++ b/DeviceIO.cpp Wed Oct 01 09:36:19 2014 +0000 @@ -1,4 +1,5 @@ #include "DeviceIO.h" +#include "PinNames.h" #define DEF "\033[39m" #define GRE "\033[32m" @@ -9,8 +10,8 @@ _resetButton(D4), // fire button on arduino app shield _analog1(A0), _analog2(A1), - _temperatureSensor(SDA,SCL), - _accelerometer(SDA,SCL), + _temperatureSensor(D14/*SDA*/, D15/*SCL*/), + _accelerometer(D14/*SDA*/, D15/*SCL*/), _lcd(D11, D13, D12, D7, D10) { }