Water control / Mbed 2 deprecated Water_pump

Dependencies:   DRV88255 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers salinity.h Source File

salinity.h

00001 #ifndef SALINITY
00002 #define SALINITY
00003 
00004 //Salinity constants   
00005 #define TS 116                                                                  //Tank Salinity = 2 mol = 116 ppt
00006 #define DS 20                                                                   //Desired salinity = 20 ppt
00007 #define SSLL 19                                                                 //Salinity safe lower limit
00008 #define SSUL 22                                                                 //Salinity safe upper limit
00009 #define SSOOW -4                                                                //Salinity safe lower limit
00010 #define SCLLL 1                                                                 //Saliniy Connection Lost Lower Limit
00011 #define SCLUL 2.5                                                               //Salinity Connection Lost Upper Limit
00012 
00013 bool salinity_control();
00014 
00015 #endif