Motoo Tanaka / Mbed 2 deprecated test_vt100

Dependencies:   mbed vt100

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Mon Dec 01 13:08:21 2014 +0000
Parent:
0:53ff82c87c14
Commit message:
minimum comment added

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 53ff82c87c14 -r 21fe79ead178 main.cpp
--- a/main.cpp	Mon Dec 01 12:59:29 2014 +0000
+++ b/main.cpp	Mon Dec 01 13:08:21 2014 +0000
@@ -1,6 +1,13 @@
 #include "mbed.h"
 #include "vt100.h"
 
+/** test_vt100
+ * test program for my vt100 library
+ * 
+ * terminal program must be at least 80x25
+ * and needless to say, should supporting vt100 commands
+ */
+ 
 vt100 tty ;
 
 int left = 2 ;
@@ -76,6 +83,8 @@
     int count = 0 ;
     while(1) {
         tty.cls() ;
+        tty.locate(10, 1) ;
+        printf("<< vt100 library test program >>") ;
         drawFrame() ;
         switch(count++) {
         case 0: drawYeqX() ; break ;