update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
Sensors/Sensors.hpp
- Committer:
- joel_ssc
- Date:
- 2019-09-13
- Revision:
- 102:0f430de62447
- Parent:
- 73:f6f378311c8d
File content as of revision 102:0f430de62447:
#ifndef SENSORS_HPP #define SENSORS_HPP #include "mbed.h" 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 */