Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of capstone_display by
Diff: display.cpp
- 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
