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:
104:426224a55f5f
Parent:
102:0f430de62447

File content as of revision 104:426224a55f5f:

#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 */