Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
Diff: SalinityController.h
- Revision:
- 7:8b3aef52aa7b
- Parent:
- 6:067e999b9c6e
- Child:
- 10:fd4670ec0806
--- a/SalinityController.h Fri Jun 10 10:53:56 2016 +0000
+++ b/SalinityController.h Fri Jun 10 12:29:33 2016 +0000
@@ -13,11 +13,13 @@
static void displayPPT();
static float getPPT();
static float getVoltage();
-
+ static float getAdjustedPPT();
private:
static float readSensor();
static float analoginToPPT(float analogin_value);
+ static float voltToSensor(float);
+ static float sensorToPPT(float);
};
#endif
\ No newline at end of file