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:
44:7c932cc5991b
Parent:
41:dce2c29f49cd
Child:
57:8dc3192ff150
--- a/LCDController.cpp	Wed Jun 15 09:14:57 2016 +0000
+++ b/LCDController.cpp	Wed Jun 15 10:37:50 2016 +0000
@@ -15,7 +15,7 @@
 {
     lcd.cls();
     lcd.printf("Welcome to\nSaltware");
-    wait(2.0);   
+    wait(0.5);   
 }    
 
 void LCDController::updateScreen(float displaytemp, float saltvolt, PIDController *pidc)
@@ -47,9 +47,14 @@
      lcd.printf("%s\n%s",tempbuffer,saltbuffer);   
 }
 
+void LCDController::showPumping() {
+    lcd.cls();
+    lcd.printf("Now pumping...");
+}
+
 void LCDController::updateScreen(float distance) {
     lcd.cls();
-    lcd.printf("Distance:\n%.3f", distance);    
+    lcd.printf("Volume:\n%.0fml", distance);    
 }
 
 void LCDController::error(const char *msg) {