portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
DeviceIO.h
- Committer:
- mazgch
- Date:
- 2014-10-01
- Revision:
- 55:ed3a2751a2b5
- Parent:
- 47:89ae46d5c466
File content as of revision 55:ed3a2751a2b5:
#ifndef DEVICEIO_H #define DEVICEIO_H #include "mbed.h" #include "GPSTracker.h" #include "GPS.h" #include "LM75B.h" #include "MMA7660.h" #include "C12832.h" class DeviceIO { public: DeviceIO(GPSI2C&); bool resetButtonPressed(); GPSTracker& gpsTracker(); AnalogIn& analog1(); AnalogIn& analog2(); LM75B& temperatureSensor(); MMA7660& accelerometer(); void lcdPrint(const char*, const char* = NULL, const char* = NULL); private: GPSTracker _gpsTracker; DigitalIn _resetButton; AnalogIn _analog1; AnalogIn _analog2; LM75B _temperatureSensor; MMA7660 _accelerometer; C12832 _lcd; }; #endif