Salinity and temperature sensors are implemented in classes.

Dependencies:   mbed

Revision:
11:dcaaf1bb21ce
Parent:
6:931a7fe8fa52
Child:
13:142a142a7ac5
--- a/Waterplay.h	Mon Jun 20 22:47:42 2016 +0000
+++ b/Waterplay.h	Wed Jun 22 00:16:33 2016 +0000
@@ -21,7 +21,8 @@
         SalinitySensor &salinitySensor,
         Thermostat &thermostat,
         Tank &tank,
-        Flasher &flasher
+        Flasher &flasher,
+        Flasher &alarm
     );
     int control();
 
@@ -32,6 +33,7 @@
     Thermostat &_thermostat;
     Tank &_tank;
     Flasher &_flasher;
+    Flasher &_alarm;
 };
 
 #endif
\ No newline at end of file