most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown

Dependencies:   mbed MODSERIAL FATFileSystem

Revision:
54:d4990fb68404
Parent:
17:7c16b5671d0e
Child:
85:dd8176285b6e
--- a/omegaPX209/omegaPX209.hpp	Thu Jun 07 13:02:08 2018 +0000
+++ b/omegaPX209/omegaPX209.hpp	Fri Jun 08 13:56:30 2018 +0000
@@ -1,3 +1,6 @@
+#ifndef OMEGAPX209_HPP
+#define OMEGAPX209_HPP
+
 /*
 This class wraps an Omega pressure transducer.
 Author: Matthew, October 24th, 2013
@@ -25,6 +28,10 @@
 
     void setZero(float zeroPsi);    // lets user set a different ambient pressure [psi] ... tare, effectively
     float getZero();                // returns the internal ambient pressure [psi]
+    
+    int readADCCounts();          //06/07/2018 check the outputs
+    float readVoltage();            //voltage reading?
+    float getRawPSI();
 
 private:
     AnalogIn _adc;
@@ -33,5 +40,8 @@
     float _zeroPsi;                 // atmospheric pressure at sea level [psi]
     float _adcVoltage;              // voltage of mbed ADC system [V]
     float _fullscale;               // maximum pressure of the sensor [psi]
-    float _cal;                     // psi per volt calibration [psi/V]
+    float _psi_per_volt_cal;                     // psi per volt calibration [psi/V]
+    float _PSI_reading;
 };
+
+#endif
\ No newline at end of file