update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
Diff: Sensors/Sensors.cpp
- Revision:
- 74:d281aaef9766
- Parent:
- 73:f6f378311c8d
- Child:
- 99:9d0849f5fcd7
- Child:
- 102:0f430de62447
--- a/Sensors/Sensors.cpp Mon Jul 30 16:48:48 2018 +0000 +++ b/Sensors/Sensors.cpp Tue Aug 14 21:06:48 2018 +0000 @@ -19,6 +19,7 @@ return ( adc().readCh7() / 4095.0 * _reference_voltage ); } +//currently using BCE CS line for this data float Sensors::getAltimeterChannelReadings() { - return adc().readCh5(); + return adc().readCh2(); //channel 2 (third channel) from the schematic } \ No newline at end of file