Program for the water play project for the course Software Testing Practical 2016 given at the VU University

Dependencies:   mbed DRV88255 TextLCD Ping mbed-rtos

Revision:
78:a44ad011dd41
Parent:
72:f8c4f731f0fe
--- a/LCDController.cpp	Wed Jun 22 12:10:24 2016 +0000
+++ b/LCDController.cpp	Wed Jun 22 13:17:05 2016 +0000
@@ -24,10 +24,10 @@
      
      if (temp_value > 100) {
          // Show Not Connected
-         sprintf(temp_buffer, "Temp: NC");
+         sprintf(temp_buffer, "T: NC");
          SensorAlarmController::buzzOnce();
      } else {
-         sprintf(temp_buffer, "Temp: %.1fC", temp_value);
+         sprintf(temp_buffer, "T: %.1fC", temp_value);
      }
      
      if (pidc->isHeating()) {
@@ -37,10 +37,10 @@
      
      if(salt_value < MIN_VALID_SALINITY) {
         // Show not connected
-        sprintf(salt_buffer, "Salt: NC");
+        sprintf(salt_buffer, "S: NC");
         SensorAlarmController::buzzOnce();
      } else {
-        sprintf(salt_buffer, "Salt: %.3fPPT", salt_value);
+        sprintf(salt_buffer, "S: %.3fPPT", salt_value);
      }
      
      // Indicate pumping with an "*" near the salinity