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.
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Diff: console.cpp
- Revision:
- 5:92389cf2106d
- Parent:
- 4:1178a1905490
- Child:
- 6:2f220f5d782d
--- a/console.cpp Tue Apr 16 18:42:03 2013 +0000
+++ b/console.cpp Sun Apr 21 20:15:31 2013 +0000
@@ -38,6 +38,15 @@
lcd.printf("%s", text); //changed from pc.printf("%s", text); April 2nd 2013
}
+void printRec(int x1, int y1, int x2, int y2)
+{
+ lcd.rect(x1, y1, x2, y2);
+}
+
+void eraseRec(int x1, int y1, int x2, int y2)
+{
+ lcd.erase(x1, y1, x2, y2);
+}
//
// Set text and background colors
//
