Kevin Rhyne / Whiffy

Dependencies:   4DGL-uLCD-SE mbed

Revision:
19:b2adc97f4700
Parent:
17:4d0e180cde20
Child:
20:d880506cfdff
diff -r 94536dca963c -r b2adc97f4700 src/LCDControl.cpp
--- a/src/LCDControl.cpp	Wed Oct 21 19:08:18 2015 +0000
+++ b/src/LCDControl.cpp	Wed Oct 21 19:56:21 2015 +0000
@@ -13,9 +13,15 @@
         printStrength(strength);
 }
     
-void LCDControl::printStrength(int strength) {
+void LCDControl::printStrength(float strength) {
 
     wait(2);
-    uLCD.printf("LCD strength: %d\n", strength);
+    uLCD.printf("Strength: %d\n", strength);
 
 }
+
+void LCDControl::printString(string printer) {
+    wait(1);
+    uLCD.printf(printer.c_str());
+    wait(1);
+    }
\ No newline at end of file