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
DeviceIO.h
00001 #pragma once 00002 00003 #include "mbed.h" 00004 #include "GPS.h" 00005 #include "GPSTracker.h" 00006 #include "DeviceFeedback.h" 00007 #include "SWO.h" 00008 00009 class DeviceIO 00010 { 00011 public: 00012 DeviceIO(GPSI2C&); 00013 00014 bool userButtonPressed(); 00015 GPSTracker& gpsTracker(); 00016 DeviceFeedback& deviceFeedback(); 00017 AnalogIn& analog1(); 00018 AnalogIn& analog2(); 00019 void debugPrint(const char*); 00020 00021 private: 00022 DigitalIn _userButton; 00023 AnalogIn _analog1; 00024 AnalogIn _analog2; 00025 PwmOut _led1; 00026 GPSTracker _gpsTracker; 00027 DeviceFeedback _deviceFeedback; 00028 SWO_Channel _debug; 00029 };
Generated on Sun Jul 17 2022 02:39:36 by 1.7.2