start

Dependencies:   DRV88255 mbed

Revision:
1:924bead61d21
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/salinity.h	Tue Jun 27 20:54:33 2017 +0000
@@ -0,0 +1,15 @@
+#ifndef SALINITY
+#define SALINITY
+
+//Salinity constants   
+#define TS 116                                                                  //Tank Salinity = 2 mol = 116 ppt
+#define DS 20                                                                   //Desired salinity = 20 ppt
+#define SSLL 19                                                                 //Salinity safe lower limit
+#define SSUL 22                                                                 //Salinity safe upper limit
+#define SSOOW -4                                                                //Salinity safe lower limit
+#define SCLLL 1                                                                 //Saliniy Connection Lost Lower Limit
+#define SCLUL 2.5                                                               //Salinity Connection Lost Upper Limit
+
+bool salinity_control();
+
+#endif
\ No newline at end of file