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:
- 55:ee80f248919d
- Parent:
- 42:e7c726f9c6ed
- Child:
- 58:b5f0c0f305ff
--- a/SalinityController.h Fri Jun 17 12:10:08 2016 +0000
+++ b/SalinityController.h Fri Jun 17 19:10:15 2016 +0000
@@ -13,16 +13,20 @@
SalinityController(bool threaded, int interval_ms) : SensorController(threaded, interval_ms) {}
virtual void update();
+
virtual float getValue();
+
virtual std::string get_name();
private:
float salinity;
+ static float voltToSensor(float);
- static float voltToSensor(float);
static float sensorToPPT(float);
+
static float getVoltage();
+
static float getAdjustedPPT();
};