update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
Diff: Sensors/Sensors.hpp
- Revision:
- 102:0f430de62447
- Parent:
- 73:f6f378311c8d
--- a/Sensors/Sensors.hpp Fri Jun 28 15:07:41 2019 +0000 +++ b/Sensors/Sensors.hpp Fri Sep 13 16:51:48 2019 +0000 @@ -6,14 +6,19 @@ class Sensors { public: Sensors(); + float _altimeter_slope; + float _altimeter_intercept; float getInternalPressurePSI(); float getVoltageInput(); float getCurrentInput(); float getAltimeterChannelReadings(); + float getAltimeterReading_m(); + void setAltimeterSlope(float S); // edit by CAM + void setAltimeterIntercept(float I); // edit by CAM private: float _reference_voltage; }; -#endif /* GUI_HPP */ \ No newline at end of file +#endif /* GUI_HPP */