This class encapsulates all the algorithms required for the displaying strings and time dependent patterns on the lcd.

Dependents:   200943412_QuickClick

Revision:
5:f8df5fe3dc6c
Parent:
4:b74041216336
Child:
6:8840d7e48ce7
--- a/Display.cpp	Tue Apr 11 23:19:22 2017 +0000
+++ b/Display.cpp	Wed Apr 12 13:25:04 2017 +0000
@@ -55,13 +55,13 @@
 void Display::random_instruction(N5110 &lcd) { 
     _v = rand() % 4 + 1;  
     if (_v == 1){
-        lcd.printChar('A',42,3); } 
+        lcd.printChar('A',40,2); } 
     else if (_v == 2){
-        lcd.printChar('B',42,3); }  
+        lcd.printChar('B',40,2); }  
     else if (_v == 3){
-        lcd.printChar('X',42,3); }  
+        lcd.printChar('X',40,2); }  
     else {
-        lcd.printChar('Y',42,3); }  
+        lcd.printChar('Y',40,2); }  
     lcd.refresh(); 
     }