portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: DeviceIO.h
- Revision:
- 46:f6976fd64387
- Parent:
- 41:804f6a0bda26
- Child:
- 47:89ae46d5c466
diff -r 5d8feae26fe3 -r f6976fd64387 DeviceIO.h --- a/DeviceIO.h Thu Jul 24 14:52:44 2014 +0000 +++ b/DeviceIO.h Thu Jul 24 16:02:47 2014 +0000 @@ -37,11 +37,13 @@ public: DeviceIO(); + bool resetButtonPressed(); LM75B& temperatureSensor(); MMA7660& accelerometer(); void lcdPrint(const char*, const char* = NULL, const char* = NULL); private: + DigitalIn _resetButton; LM75B _temperatureSensor; MMA7660 _accelerometer; C12832 _lcd;