eka sinambela / Mbed 2 deprecated g3_waterplay

Dependencies:   mbed

Fork of g3_waterplay by Mario Simaremare

Revision:
5:4cbe44452889
Parent:
4:d8914369bf82
Child:
6:931a7fe8fa52
--- a/Waterplay.cpp	Fri Jun 17 09:24:01 2016 +0000
+++ b/Waterplay.cpp	Fri Jun 17 11:03:37 2016 +0000
@@ -26,7 +26,7 @@
     int retVal = 1;
     _temperatureSensor.reload();
     _salinitySensor.reload();
-    _flasher.flash(3);
+    _flasher.flash(1);
     _thermostat.react(
         _temperatureSensor.getStatus()
     );
@@ -38,5 +38,12 @@
         _temperatureSensor.getStrStatus()
     );
     
+    _flasher.flash(2);
+    
+    _printer.toBoth(
+        _thermostat.getStrStatus()
+    );
+    _flasher.flash(2);
+    
     return(retVal);
 }
\ No newline at end of file