Kevin Rhyne / Whiffy

Dependencies:   4DGL-uLCD-SE mbed

Revision:
10:99392075e1d0
Parent:
5:63d34be8ebf6
Child:
11:419e5d18d42b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/LCDControl.cpp	Mon Oct 19 19:57:15 2015 +0000
@@ -0,0 +1,23 @@
+#include "LCDControl.h"
+
+
+
+LCDControl::LCDControl(){
+
+    uLCD = new uLCD_4DGL(p9,p10,p8); // serial tx, serial rx, reset pin;
+    
+
+    
+}
+
+void LCDControl::update(int strength, bool mode) { //do update stuff on LCD
+    
+        printStrength(strength);
+}
+    
+void LCDControl::printStrength(int strength) {
+
+    uLCD->cls();
+    uLCD->printf("LCD strength: %d", strength);
+
+}
\ No newline at end of file