Ryan Yuyuenyongwatana / capstone_display_2

Dependencies:   TFTLCD

Dependents:   Capstone

Fork of capstone_display by James Moffat

Revision:
3:ee53c9811f62
Parent:
2:c3231b95aff0
Child:
4:ca34dcac4af8
--- a/display.cpp	Thu Apr 03 20:42:39 2014 +0000
+++ b/display.cpp	Wed Apr 23 22:36:58 2014 +0000
@@ -66,5 +66,27 @@
     lcd->Print("Dist: ", LEFT, 75);
     lcd->Print(dist, CENTER, 75);    
     
+}
+void display::calibrationdist(char *str)
+{
+    lcd->ClearScreen();
+    lcd->SetForeground(COLOR_RED);
+    lcd->Print("CALIBRATION", CENTER, 25);
+    lcd->SetForeground(COLOR_WHITE);
+    lcd->Print("Place beacon: ", LEFT, 50);
+    lcd->Print(str, RIGHT, 50);
+    lcd->Print("Then press button", LEFT, 75);
+
+
+}
+void display::calibrationunl(void)
+{
+    lcd->ClearScreen();
+    lcd->SetForeground(COLOR_RED);
+    lcd->Print("CALIBRATION", CENTER, 25);
+    lcd->SetForeground(COLOR_WHITE);
+    lcd->Print("Turn off Beacon", LEFT, 50);
+    lcd->Print("Then press button", LEFT, 75);
+    
     
 }
\ No newline at end of file