An application to log WiFi SSIDs for position lookup testing
Dependencies: C027_Support SWO mbed-rtos mbed picojson
Fork of lpc4088_ebb_ublox_Cellular_PubNubDemo_rtos by
Diff: device/DeviceIO.h
- Revision:
- 1:cac9b2960637
diff -r 713518ea5028 -r cac9b2960637 device/DeviceIO.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/device/DeviceIO.h Sun Feb 15 22:04:12 2015 +0000 @@ -0,0 +1,29 @@ +#pragma once + +#include "mbed.h" +#include "GPS.h" +#include "GPSTracker.h" +#include "DeviceFeedback.h" +#include "SWO.h" + +class DeviceIO +{ +public: + DeviceIO(GPSI2C&); + + bool userButtonPressed(); + GPSTracker& gpsTracker(); + DeviceFeedback& deviceFeedback(); + AnalogIn& analog1(); + AnalogIn& analog2(); + void debugPrint(const char*); + +private: + DigitalIn _userButton; + AnalogIn _analog1; + AnalogIn _analog2; + PwmOut _led1; + GPSTracker _gpsTracker; + DeviceFeedback _deviceFeedback; + SWO_Channel _debug; +};